Skip to content

Commit 22e7428

Browse files
[DI] fix regexp for anonymous services with no class set
1 parent 7240c3c commit 22e7428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
abstract class FileLoader extends BaseFileLoader
2828
{
29-
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]++~[._a-zA-Z\d]{7}$/';
29+
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]*+~[._a-zA-Z\d]{7}$/';
3030

3131
protected $container;
3232
protected $isLoadingInstanceof = false;

0 commit comments

Comments
 (0)