[DI] fix regexp for anonymous services with no class set
This commit is contained in:
parent
0472dbfccb
commit
a302d2050e
@ -26,7 +26,7 @@ use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
||||
*/
|
||||
abstract class FileLoader extends BaseFileLoader
|
||||
{
|
||||
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]++~[._a-zA-Z\d]{7}$/';
|
||||
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]*+~[._a-zA-Z\d]{7}$/';
|
||||
|
||||
protected $container;
|
||||
protected $isLoadingInstanceof = false;
|
||||
|
Reference in New Issue
Block a user