Skip to content

Commit

Permalink
psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Jul 14, 2021
1 parent 0c1b0f9 commit 83ce23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Script.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) . '/';
Expand Down

0 comments on commit 83ce23d

Please sign in to comment.