composer update
This commit is contained in:
@@ -35,7 +35,7 @@ class ImplicitRouteBinding
|
||||
$instance = $container->make($parameter->getClass()->name);
|
||||
|
||||
if (! $model = $instance->resolveRouteBinding($parameterValue)) {
|
||||
throw (new ModelNotFoundException)->setModel(get_class($instance));
|
||||
throw (new ModelNotFoundException)->setModel(get_class($instance), [$parameterValue]);
|
||||
}
|
||||
|
||||
$route->setParameter($parameterName, $model);
|
||||
|
||||
Reference in New Issue
Block a user