Moved some elements in Common module to more proper locations

This commit is contained in:
Alejandro Celaya
2019-08-10 23:58:21 +02:00
parent 986c165815
commit 5fa4fa0225
17 changed files with 139 additions and 108 deletions

View File

@@ -22,11 +22,9 @@ class DottedAccessConfigAbstractFactory implements AbstractFactoryInterface
/**
* Can the factory create an instance for the service?
*
* @param ContainerInterface $container
* @param string $requestedName
* @return bool
*/
public function canCreate(ContainerInterface $container, $requestedName)
public function canCreate(ContainerInterface $container, $requestedName): bool
{
return substr_count($requestedName, '.') > 0;
}