[DependencyInjection] fix accepted types on FactoryTrait::factory()
This commit is contained in:
parent
ffb0d2d424
commit
67fae67a9a
@ -12,13 +12,14 @@
|
|||||||
namespace Symfony\Component\DependencyInjection\Loader\Configurator\Traits;
|
namespace Symfony\Component\DependencyInjection\Loader\Configurator\Traits;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
||||||
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator;
|
||||||
|
|
||||||
trait FactoryTrait
|
trait FactoryTrait
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Sets a factory.
|
* Sets a factory.
|
||||||
*
|
*
|
||||||
* @param string|array $factory A PHP callable reference
|
* @param string|array|ReferenceConfigurator $factory A PHP callable reference
|
||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user