|
@@ -45,7 +45,7 @@ discard block |
|
|
block discarded – undo |
|
45
|
45
|
} |
|
46
|
46
|
|
|
47
|
47
|
return $this->getParameters([ |
|
48
|
|
- 'id' => md5($route->getUri().':'.implode($route->getMethods())), |
|
|
48
|
+ 'id' => md5($route->getUri() . ':' . implode($route->getMethods())), |
|
49
|
49
|
'resource' => $routeGroup, |
|
50
|
50
|
'title' => $routeDescription['short'], |
|
51
|
51
|
'description' => $routeDescription['long'], |
|
@@ -98,7 +98,7 @@ discard block |
|
|
block discarded – undo |
|
98
|
98
|
|
|
99
|
99
|
$kernel->terminate($request, $response); |
|
100
|
100
|
|
|
101
|
|
- if (file_exists($file = App::bootstrapPath().'/app.php')) { |
|
|
101
|
+ if (file_exists($file = App::bootstrapPath() . '/app.php')) { |
|
102
|
102
|
$app = require $file; |
|
103
|
103
|
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap(); |
|
104
|
104
|
} |
|
@@ -120,7 +120,7 @@ discard block |
|
|
block discarded – undo |
|
120
|
120
|
|
|
121
|
121
|
foreach ($reflectionMethod->getParameters() as $parameter) { |
|
122
|
122
|
$parameterType = $parameter->getClass(); |
|
123
|
|
- if (! is_null($parameterType) && class_exists($parameterType->name)) { |
|
|
123
|
+ if (!is_null($parameterType) && class_exists($parameterType->name)) { |
|
124
|
124
|
$className = $parameterType->name; |
|
125
|
125
|
|
|
126
|
126
|
if (is_subclass_of($className, FormRequest::class)) { |
Please login to merge, or discard this patch.