misc: PHP type hint

This commit is contained in:
Hide_D committed 2023-03-12 17:02:29 +09:00
1 parent 2ac1d6c0da
commit 54380950eb
1 file changed
+1
+1
View File
@@ -20,6 +20,7 @@ abstract class Action{
}
$args = array_slice($actionArgs, 1);
/** @var \ReflectionClass<Action> */
$ref = new \ReflectionClass($className);
return $ref->newInstanceArgs($args);
}