Completed
Push — master ( 36db99...98d8fe )
by Dominik
03:00
created
src/Manager/RequestManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Manager;
6 6
 
Please login to merge, or discard this patch.
src/Manager/ResponseManagerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Manager;
6 6
 
Please login to merge, or discard this patch.
src/Manager/ResponseManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Manager;
6 6
 
Please login to merge, or discard this patch.
src/Manager/RequestManagerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Manager;
6 6
 
Please login to merge, or discard this patch.
src/Factory/ResponseFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Factory;
6 6
 
Please login to merge, or discard this patch.
src/Provider/ApiHttpProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Provider;
6 6
 
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function register(Container $container)
20 20
     {
21
-        $container['api-http.request.manager'] = function () use ($container) {
21
+        $container['api-http.request.manager'] = function() use ($container) {
22 22
             return new RequestManager(
23 23
                 $container['api-http.request.contentNegotiator'],
24 24
                 $container['deserializer'],
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
             );
29 29
         };
30 30
 
31
-        $container['api-http.request.contentNegotiator'] = function () {
31
+        $container['api-http.request.contentNegotiator'] = function() {
32 32
             return new ContentNegotiator();
33 33
         };
34 34
 
35
-        $container['api-http.request.languageNegotiator'] = function () {
35
+        $container['api-http.request.languageNegotiator'] = function() {
36 36
             return new LanguageNegotiator();
37 37
         };
38 38
 
39
-        $container['api-http.request.languages'] = function () {
39
+        $container['api-http.request.languages'] = function() {
40 40
             return [];
41 41
         };
42 42
 
43
-        $container['api-http.response.manager'] = function () use ($container) {
43
+        $container['api-http.response.manager'] = function() use ($container) {
44 44
             return new ResponseManager(
45 45
                 $container['api-http.request.manager'],
46 46
                 $container['api-http.response.factory'],
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             );
50 50
         };
51 51
 
52
-        $container['api-http.response.factory'] = function () {
52
+        $container['api-http.response.factory'] = function() {
53 53
             throw new \RuntimeException('Missing response factory, define service "api-http.response.factory"');
54 54
         };
55 55
     }
Please login to merge, or discard this patch.
src/Negotiation/NegotiatedValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Negotiation;
6 6
 
Please login to merge, or discard this patch.
src/Negotiation/NegotiatorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Negotiation;
6 6
 
Please login to merge, or discard this patch.
src/Negotiation/AcceptNegotiator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiHttp\Negotiation;
6 6
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             $values[$mimeType] = $attributes;
47 47
         }
48 48
 
49
-        uasort($values, function (array $a, array $b) {
49
+        uasort($values, function(array $a, array $b) {
50 50
             return $b['q'] <=> $a['q'];
51 51
         });
52 52
 
Please login to merge, or discard this patch.