Issues (10)

src/AutowireHelperFactory.php (1 issue)

Labels
Severity
1
<?php
2
3
/*
4
 *  This file is part of the Micro framework package.
5
 *
6
 *  (c) Stanislau Komar <[email protected]>
7
 *
8
 *  For the full copyright and license information, please view the LICENSE
9
 *  file that was distributed with this source code.
10
 */
11
12
namespace Micro\Component\DependencyInjection\Autowire;
13
14
use Psr\Container\ContainerInterface;
15
16
readonly class AutowireHelperFactory implements AutowireHelperFactoryInterface
0 ignored issues
show
A parse error occurred: Syntax error, unexpected T_READONLY on line 16 at column 0
Loading history...
17
{
18 19
    public function __construct(private ContainerInterface $container)
19
    {
20 19
    }
21
22 19
    public function create(): AutowireHelperInterface
23
    {
24 19
        return new AutowireHelper($this->container);
25
    }
26
}
27