Skip to content

Commit 6f78c8e

Browse files
committed
Possible fix for 116
1 parent e52e106 commit 6f78c8e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Support/Helpers.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ public static function getAppName()
9696
*/
9797
public static function fixNamespace($path)
9898
{
99-
return rtrim(self::convertSlashToBackslash($path), '\\');
99+
$path = self::convertSlashToBackslash($path);
100+
101+
$path = rtrim(Str::eliminateDupilcates($path, '\\'), '\\');
102+
103+
return $path;
100104
}
101105

102106
/**

0 commit comments

Comments
 (0)