Skip to content

Commit

Permalink
qa: fix error flagged by psalm
Browse files Browse the repository at this point in the history
Removes a redundant cast operation, and updates the psalm baseline to note fixes.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed Dec 13, 2021
1 parent 661f212 commit d635104
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.13.1@5cf660f63b548ccd4a56f62d916ee4d6028e01a3">
<files psalm-version="v4.15.0@a1b5e489e6fcebe40cb804793d964e99fc347820">
<file src="src/AbstractStaticResourceHandlerFactory.php">
<MixedArgument occurrences="3">
<code>$compressionLevel</code>
Expand Down
1 change: 0 additions & 1 deletion src/HotCodeReload/FileWatcher/InotifyFileWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ private function listSubdirectoriesRecursively(string $path): array
$paths = array_merge($paths, $this->listSubdirectoriesRecursively($filename));
}

$paths = array_values($paths);
Assert::allStringNotEmpty($paths);

return $paths;
Expand Down

0 comments on commit d635104

Please sign in to comment.