Apply php-cs-fixer changes
This commit is contained in:
parent
cec96062e3
commit
436e686037
72 changed files with 91 additions and 196 deletions
|
@ -26,7 +26,7 @@ class SubstituteClientApiBindings
|
|||
* Perform substitution of route parameters for the Client API.
|
||||
*
|
||||
* @param \Illuminate\Http\Request
|
||||
* @param \Closure $next
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle($request, Closure $next)
|
||||
|
@ -73,7 +73,7 @@ class SubstituteClientApiBindings
|
|||
});
|
||||
|
||||
try {
|
||||
/** @var \Illuminate\Routing\Route $route */
|
||||
/* @var \Illuminate\Routing\Route $route */
|
||||
$this->router->substituteBindings($route = $request->route());
|
||||
} catch (ModelNotFoundException $exception) {
|
||||
if (isset($route) && $route->getMissing()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue