Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit ddc498a

Browse files
committed
fix: remove double backslashes
1 parent 50800ea commit ddc498a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Util/LaravelIdentifier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public function __construct(\SplFileInfo $file)
3737
$basePath = getcwd();
3838

3939
$fqcn = str_replace(
40-
[...array_values($psr4), $basePath, '.php', '/'],
41-
[...array_keys($psr4), '', '', '\\'],
40+
[...array_values($psr4), $basePath, '.php', '/', '\\\\'],
41+
[...array_keys($psr4), '', '', '\\', '\\'],
4242
$file->getPathname()
4343
);
4444

0 commit comments

Comments
 (0)