Skip to content

Commit d94554a

Browse files
committed
Merge branch 'master' of https://github.com/dingo/api
2 parents 52c5597 + 755ee32 commit d94554a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/Event/RequestWasMatched.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class RequestWasMatched
2424
/**
2525
* Create a new request was matched event.
2626
*
27-
* @param \Dingo\Api\Http\Request $response
28-
* @param \Illuminate\Contracts\Container\Container $content
27+
* @param \Dingo\Api\Http\Request $request
28+
* @param \Illuminate\Contracts\Container\Container $app
2929
*
3030
* @return void
3131
*/

src/Routing/Route.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@ protected function mergeControllerProperties()
217217
/**
218218
* Find the controller options and whether or not it will apply to this routes controller method.
219219
*
220-
* @param string $option
221-
* @param \Closure $callback
220+
* @param string $name
221+
*
222+
* @return array
222223
*/
223224
protected function findControllerPropertyOptions($name)
224225
{

src/Transformer/Adapter/Fractal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ protected function createResource($response, $transformer, array $parameters)
161161
*/
162162
public function parseFractalIncludes(Request $request)
163163
{
164-
$includes = $request->get($this->includeKey);
164+
$includes = $request->input($this->includeKey);
165165

166166
if (! is_array($includes)) {
167167
$includes = array_filter(explode($this->includeSeparator, $includes));

0 commit comments

Comments
 (0)