@@ -89,7 +89,6 @@ public function getStatusCode()
8989 * Setter for statusCode.
9090 *
9191 * @param int $statusCode Value to set
92- *
9392 * @return self
9493 */
9594 public function setStatusCode ($ statusCode )
@@ -104,7 +103,6 @@ public function setStatusCode($statusCode)
104103 *
105104 * @param $item
106105 * @param $callback
107- *
108106 * @return mixed
109107 */
110108 protected function respondWithItem ($ item , $ callback )
@@ -121,7 +119,6 @@ protected function respondWithItem($item, $callback)
121119 *
122120 * @param $collection
123121 * @param $callback
124- *
125122 * @return mixed
126123 */
127124 protected function respondWithCollection ($ collection , $ callback )
@@ -138,7 +135,6 @@ protected function respondWithCollection($collection, $callback)
138135 *
139136 * @param array $array
140137 * @param array $headers
141- *
142138 * @return mixed
143139 */
144140 protected function respondWithArray (array $ array , array $ headers = [])
@@ -150,7 +146,6 @@ protected function respondWithArray(array $array, array $headers = [])
150146 * Response with the current error.
151147 *
152148 * @param $message
153- *
154149 * @return mixed
155150 */
156151 protected function respondWithError ($ message )
@@ -167,7 +162,6 @@ protected function respondWithError($message)
167162 * Prepare root scope and adds meta.
168163 *
169164 * @param Item $resource
170- *
171165 * @return mixed
172166 */
173167 protected function prepareRootScope ($ resource )
@@ -195,7 +189,6 @@ protected function rulesForCreate()
195189 * Get the validation rules for update.
196190 *
197191 * @param $id
198- *
199192 * @return array
200193 */
201194 protected function rulesForUpdate ($ id )
@@ -219,7 +212,6 @@ public function errorForbidden($message = 'Forbidden')
219212 * Generate a Response with a 500 HTTP header and a given message.
220213 *
221214 * @param $message
222- *
223215 * @return Response
224216 */
225217 public function errorInternalError ($ message = 'Internal Error ' )
@@ -243,7 +235,6 @@ public function errorNotFound($message = 'Resource Not Found')
243235 * Generate a Response with a 401 HTTP header and a given message.
244236 *
245237 * @param $message
246- *
247238 * @return Response
248239 */
249240 public function errorUnauthorized ($ message = 'Unauthorized ' )
@@ -255,7 +246,6 @@ public function errorUnauthorized($message = 'Unauthorized')
255246 * Generate a Response with a 400 HTTP header and a given message.
256247 *
257248 * @param $message
258- *
259249 * @return Response
260250 */
261251 public function errorWrongArgs ($ message = 'Wrong Arguments ' )
@@ -317,7 +307,6 @@ public function store()
317307 * GET /api/{resource}/{id}.
318308 *
319309 * @param int $id
320- *
321310 * @return Response
322311 */
323312 public function show ($ id )
@@ -337,7 +326,6 @@ public function show($id)
337326 * PUT /api/{resource}/{id}.
338327 *
339328 * @param int $id
340- *
341329 * @return Response
342330 */
343331 public function update ($ id )
@@ -372,7 +360,6 @@ public function update($id)
372360 * DELETE /api/{resource}/{id}.
373361 *
374362 * @param int $id
375- *
376363 * @return Response
377364 */
378365 public function destroy ($ id )
0 commit comments