diff --git a/src/Bootstrap/Configurator.php b/src/Bootstrap/Configurator.php index 080c83a..dd49bb2 100644 --- a/src/Bootstrap/Configurator.php +++ b/src/Bootstrap/Configurator.php @@ -50,7 +50,7 @@ class Configurator ]; /** @var string[] of classes which shouldn't be autowired */ - public $autowireExcludedClasses = ['ArrayAccess', 'Countable', 'IteratorAggregate', 'stdClass', 'Traversable']; + public $autowireExcludedClasses = [\ArrayAccess::class, \Countable::class, \IteratorAggregate::class, \stdClass::class, \Traversable::class]; /** @var array */ protected $parameters;