Completed
Push — master ( f2d77a...6972d7 )
by Jasper
11s
created
src/Links.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     public function toArray()
113 113
     {
114 114
         return array_map(
115
-            function (Link $link) {
115
+            function(Link $link) {
116 116
                 return $link->toArray();
117 117
             },
118 118
             $this->links
Please login to merge, or discard this patch.
src/JsonApi/LinksParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         return new Links(
20 20
             array_map(
21
-                function ($link) {
21
+                function($link) {
22 22
                     return $this->buildLink($link);
23 23
                 },
24 24
                 $links
Please login to merge, or discard this patch.
src/Providers/ServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $this->app->singleton(
48 48
             TypeMapperInterface::class,
49
-            function () {
49
+            function() {
50 50
                 return new TypeMapper();
51 51
             }
52 52
         );
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $this->app->bind(
58 58
             ParserInterface::class,
59
-            function (Application $app) {
59
+            function(Application $app) {
60 60
                 return new Parser(
61 61
                     new JsonApiClientManger(),
62 62
                     new Hydrator($app->make(TypeMapperInterface::class), new LinksParser()),
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     {
72 72
         $this->app->bind(
73 73
             ApiClientInterface::class,
74
-            function () {
74
+            function() {
75 75
                 return new ApiClient(
76 76
                     $this->getHttpClient(),
77 77
                     config('jsonapi.base_uri'),
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
         $this->app->bind(
84 84
             ApiDocumentClientInterface::class,
85
-            function (Application $app) {
85
+            function(Application $app) {
86 86
                 return new ApiDocumentClient(
87 87
                     $app->make(ApiClientInterface::class),
88 88
                     $app->make(ParserInterface::class)
Please login to merge, or discard this patch.