8000 [DependencyInjection] fix accepted types on FactoryTrait::factory() · symfony/symfony@67fae67 · GitHub
[go: up one dir, main page]

Skip to content

Commit 67fae67

Browse files
[DependencyInjection] fix accepted types on FactoryTrait::factory()
1 parent ffb0d2d commit 67fae67

File tree

1 file changed

+2
-1
lines changed
  • src/Symfony/Component/DependencyInjection/Loader/Configurator/Traits

1 file changed

+2
-1
lines changed

src/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/FactoryTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
namespace Symfony\Component\DependencyInjection\Loader\Configurator\Traits;
1313

1414
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
15+
use Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator;
1516

1617
trait FactoryTrait
1718
{
1819
/**
1920
* Sets a factory.
2021
*
21-
* @param string|array $factory A PHP callable reference
22+
* @param string|array|ReferenceConfigurator $factory A PHP callable reference
2223
*
2324
* @return $this
2425
*/

0 commit comments

Comments
 (0)
0