From d63510425cd18717ec756963004e44cb0f00f0f1 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Mon, 13 Dec 2021 15:19:41 -0600 Subject: [PATCH] qa: fix error flagged by psalm Removes a redundant cast operation, and updates the psalm baseline to note fixes. Signed-off-by: Matthew Weier O'Phinney --- psalm-baseline.xml | 2 +- src/HotCodeReload/FileWatcher/InotifyFileWatcher.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 7b645848..da3bdca9 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + $compressionLevel diff --git a/src/HotCodeReload/FileWatcher/InotifyFileWatcher.php b/src/HotCodeReload/FileWatcher/InotifyFileWatcher.php index e086b876..ebc2a019 100644 --- a/src/HotCodeReload/FileWatcher/InotifyFileWatcher.php +++ b/src/HotCodeReload/FileWatcher/InotifyFileWatcher.php @@ -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;