1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +02:00

[ticket/17176] Resolve deprecation notices

PHPBB3-17176
This commit is contained in:
Marc Alexander
2023-08-19 22:05:37 +02:00
parent daf30b89f1
commit abd29e96b5
22 changed files with 57 additions and 54 deletions

View File

@@ -160,7 +160,7 @@ class resolver implements ControllerResolverInterface
$arguments[] = $attributes[$param->name];
}
}
else if ($param->getClass() && $param->getClass()->isInstance($request))
else if ($param->getType() && $param->getType() instanceof $request)
{
$arguments[] = $request;
}