Skip to content

Commit

Permalink
add back spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 24, 2020
1 parent eb3e262 commit 10ad064
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Routing/ImplicitRouteBinding.php
Expand Up @@ -36,6 +36,7 @@ public static function resolveForRoute($container, $route)
$instance = $container->make(Reflector::getParameterClassName($parameter));

$parent = $route->parentOfParameter($parameterName);

if ($parent instanceof UrlRoutable && in_array($parameterName, array_keys($route->bindingFields()))) {
if (! $model = $parent->resolveChildRouteBinding(
$parameterName, $parameterValue, $route->bindingFieldFor($parameterName)
Expand Down

0 comments on commit 10ad064

Please sign in to comment.