Skip to content

Commit

Permalink
Run pint
Browse files Browse the repository at this point in the history
  • Loading branch information
toddy15 committed Sep 5, 2023
1 parent 4d7ab7d commit 432565c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/Images.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private function getImagesInDirectory(string $directory): array
{
$images = [];
$dir = opendir($directory);
while (false !== ($file = readdir($dir))) {
while (($file = readdir($dir)) !== false) {
// Strip ., .., and subdirs
if (is_file($directory.'/'.$file)) {
$images[] = $file;
Expand Down

0 comments on commit 432565c

Please sign in to comment.