We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2b0dd commit c39664dCopy full SHA for c39664d
src/Manager.php
@@ -155,7 +155,9 @@ public function processFileContents($file)
155
array_unshift($directories, '');
156
157
foreach ($directories as $directory) {
158
- $directory = Str::finish($directory, DIRECTORY_SEPARATOR);
+ if (!empty($directory)) {
159
+ $directory = Str::finish($directory, DIRECTORY_SEPARATOR);
160
+ }
161
162
if (is_file($directory . $file)) {
163
return file_get_contents($directory . $file);
0 commit comments