File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 ],
1212 "require" : {
1313 "php" : " >=5.4.0" ,
14- "willdurand/negotiation" : " ~1.0@dev "
14+ "willdurand/negotiation" : " ~1.0"
1515 },
1616 "require-dev" : {
17- "silex/silex" : " ~1.0@dev " ,
18- "phpunit/phpunit" : " >= 3.7.0 "
17+ "silex/silex" : " ~1.0" ,
18+ "phpunit/phpunit" : " ~ 3.7"
1919 },
2020 "autoload" : {
2121 "psr-0" : {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class NegotiationServiceProvider implements ServiceProviderInterface
2525 /**
2626 * Constructor.
2727 *
28- * @param array $customFormats A list of custorm formats to add in the
28+ * @param array $customFormats A list of custorm formats to add in the
2929 * format negotiator. The formats must be
3030 * given as a 'formatName' => mimeTypes map.
3131 */
@@ -43,15 +43,15 @@ public function register(Application $app)
4343 {
4444 $ this ->app = $ app ;
4545
46- $ app ['negotiator ' ] = $ app ->share (function ($ app ) {
46+ $ app ['negotiator ' ] = $ app ->share (function ($ app ) {
4747 return new \Negotiation \Negotiator ();
4848 });
4949
50- $ app ['language.negotiator ' ] = $ app ->share (function ($ app ) {
50+ $ app ['language.negotiator ' ] = $ app ->share (function ($ app ) {
5151 return new \Negotiation \LanguageNegotiator ();
5252 });
5353
54- $ app ['format.negotiator ' ] = $ app ->share (function ($ app ) {
54+ $ app ['format.negotiator ' ] = $ app ->share (function ($ app ) {
5555 $ negotiator = new \Negotiation \FormatNegotiator ();
5656
5757 // add new formats
You can’t perform that action at this time.
0 commit comments