for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace RustamWin\Attributes\Instantiator;
/**
* @psalm-suppress ImplementedParamTypeMismatch, InvalidScalarArgument
*/
final class Instantiator extends \Spiral\Attributes\Internal\Instantiator\Instantiator
{
public function instantiate(\ReflectionClass $attr, array $arguments, \Reflector $context = null): object
return $attr->newInstanceArgs($arguments);
}