Completed
Push — master ( 6d636a...8bc8ac )
by Nil
05:12
created
src/NilPortugues/Laravel5/JsonApi/Laravel5JsonApiServiceProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     /**
136 136
      * @param array $value
137 137
      *
138
-     * @return mixed|string
138
+     * @return string
139 139
      */
140 140
     private static function calculateRoute(array $value)
141 141
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * Get the services provided by the provider.
154 154
      *
155
-     * @return array
155
+     * @return string[]
156 156
      */
157 157
     public function provides()
158 158
     {
Please login to merge, or discard this patch.
src/NilPortugues/Laravel5/JsonApi/Mapper/Mapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @param string|array $mappedClass
17 17
      *
18
-     * @return array
18
+     * @return \NilPortugues\Api\Mapping\Mapping
19 19
      */
20 20
     protected function buildMapping($mappedClass)
21 21
     {
Please login to merge, or discard this patch.
src/NilPortugues/Laravel5/JsonApi/Controller/JsonApiController.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Returns the total number of results available for the current resource.
82 82
      *
83
-     * @return callable
83
+     * @return \Closure
84 84
      * @codeCoverageIgnore
85 85
      */
86 86
     protected function totalAmountResourceCallable()
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Returns a list of resources based on pagination criteria.
104 104
      *
105
-     * @return callable
105
+     * @return \Closure
106 106
      * @codeCoverageIgnore
107 107
      */
108 108
     protected function listResourceCallable()
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * @param Request $request
151 151
      *
152
-     * @return callable
152
+     * @return \Closure
153 153
      * @codeCoverageIgnore
154 154
      */
155 155
     protected function findResourceCallable(Request $request)
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * Reads the input and creates and saves a new Eloquent Model.
185 185
      *
186
-     * @return callable
186
+     * @return \Closure
187 187
      * @codeCoverageIgnore
188 188
      */
189 189
     protected function createResourceCallable()
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-     * @return callable
234
+     * @return \Closure
235 235
      * @codeCoverageIgnore
236 236
      */
237 237
     protected function updateResourceCallable()
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     /**
292 292
      * @param Request $request
293 293
      *
294
-     * @return callable
294
+     * @return \Closure
295 295
      * @codeCoverageIgnore
296 296
      */
297 297
     protected function deleteResourceCallable(Request $request)
Please login to merge, or discard this patch.