Skip to content

Commit 871a461

Browse files
committed
Issue #3322743 by Spokje, mondrake: Fix PHPStan L2 errors "Parameter $foo of method Foo::bar() has invalid type Foo\Baz." and "Method Foo::bar() has invalid return type Foo\Baz. "
1 parent aa8ed3a commit 871a461

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Operations/OperationFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function createAppendOp(PackageInterface $package, OperationData $oper
122122
/**
123123
* Checks to see if the specified scaffold file exists and has content.
124124
*
125-
* @param Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $file
125+
* @param \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $file
126126
* Scaffold file to check.
127127
*
128128
* @return bool

Operations/ScaffoldFileCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function filterFiles(array $files_to_filter) {
9696
/**
9797
* Scans through a list of scaffold files and determines if any has contents.
9898
*
99-
* @param Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo[] $scaffold_files
99+
* @param \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo[] $scaffold_files
100100
* List of scaffold files, path: ScaffoldFileInfo
101101
*
102102
* @return bool

0 commit comments

Comments
 (0)