From 83ce23d6467f1656f588bd2e5183b92d4bb8c9b0 Mon Sep 17 00:00:00 2001 From: chrico Date: Wed, 14 Jul 2021 16:48:15 +0200 Subject: [PATCH] psalm --- src/Script.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Script.php b/src/Script.php index 3c4e055..5fb771f 100644 --- a/src/Script.php +++ b/src/Script.php @@ -288,14 +288,14 @@ protected function resolveDependencyExtractionPlugin(): bool * - {fileName}.asset.php * - {fileName}.{hash}.asset.php * - * @return \DirectoryIterator|null + * @return \DirectoryIterator|null $depsfile */ protected function findDepdendencyFile(): ?\DirectoryIterator { try { $filePath = $this->filePath(); if ($filePath === '') { - return $depsFile; + return null; } $path = dirname($filePath) . '/';