diff --git a/composer.json b/composer.json index 2b6f47f..24f95ad 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "require": { "php": "^7.0", "guzzlehttp/guzzle": "^6.3", - "doctrine/inflector": "^1.1" + "doctrine/inflector": "^1.2" }, "require-dev": { "phpunit/phpunit": "^6.2" diff --git a/src/SubResources/Categorized.php b/src/SubResources/Categorized.php index 442ba44..f2eedf9 100644 --- a/src/SubResources/Categorized.php +++ b/src/SubResources/Categorized.php @@ -9,9 +9,9 @@ abstract class Categorized public $category; - const WORK = 'work'; - const PERSONAL = 'personal'; - const OTHER = 'other'; + const WORK = 'Work'; + const PERSONAL = 'Personal'; + const OTHER = 'Other'; /** * Categorized subresource constructor. @@ -21,4 +21,4 @@ public function __construct($category) { $this->category = $category; } -} \ No newline at end of file +} diff --git a/src/SubResources/Phone.php b/src/SubResources/Phone.php index db7afac..c584e90 100644 --- a/src/SubResources/Phone.php +++ b/src/SubResources/Phone.php @@ -14,11 +14,11 @@ class Phone extends Categorized public $number; - const MOBILE = 'mobile'; - const HOME = 'home'; + const MOBILE = 'Mobile'; + const HOME = 'Home'; /** @deprecated */ - const PERSONAL = 'personal'; + const PERSONAL = 'Personal'; protected $simpleNumber; protected $extension; @@ -39,4 +39,4 @@ public function __construct(string $number, string $category) $this->simpleNumber = $number; } } -} \ No newline at end of file +}