Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Dec 13, 2024
1 parent 5c37274 commit 8ad38c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/framework/src/Foundation/Kernel/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function findFiles(string $directory, string|false $matchExtension = fals
$files = collect();

foreach ($finder as $file) {
$files->push(str_replace($directory . DIRECTORY_SEPARATOR, '', $file->getRealPath()));
$files->push(str_replace($directory.DIRECTORY_SEPARATOR, '', $file->getRealPath()));
}

return $files;
Expand Down
2 changes: 0 additions & 2 deletions packages/framework/tests/Unit/FilesystemFindFilesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Hyde\Testing\UnitTestCase;
use Hyde\Testing\CreatesTemporaryFiles;
use Hyde\Foundation\Kernel\Filesystem;
use Illuminate\Support\Collection;

/**
* @covers \Hyde\Foundation\Kernel\Filesystem::findFiles
Expand Down Expand Up @@ -88,4 +87,3 @@ protected function tearDown(): void
$this->cleanUpFilesystem();
}
}

0 comments on commit 8ad38c7

Please sign in to comment.