Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Updated requirements to avoid some issues with the doctrine inflector…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
Leonardo Pedretti committed Nov 6, 2017
1 parent 520bdaf commit 71fa42b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions src/SubResources/Categorized.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -21,4 +21,4 @@ public function __construct($category) {
$this->category = $category;
}

}
}
8 changes: 4 additions & 4 deletions src/SubResources/Phone.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -39,4 +39,4 @@ public function __construct(string $number, string $category)
$this->simpleNumber = $number;
}
}
}
}

0 comments on commit 71fa42b

Please sign in to comment.