[Runtime] Dont use "parent" as type hint

This commit is contained in:
Nyholm 2021-03-20 13:56:11 +01:00
parent 1b93740325
commit 4f486e850a
No known key found for this signature in database
GPG Key ID: D6332DE2B6F8FA38

View File

@ -177,7 +177,7 @@ class SymfonyRuntime extends GenericRuntime
return parent::getArgument($parameter, $type);
}
protected static function register(parent $runtime): parent
protected static function register(GenericRuntime $runtime): GenericRuntime
{
$self = new self($runtime->options + ['runtimes' => []]);
$self->options['runtimes'] += [