We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 087dbaa commit 449428bCopy full SHA for 449428b
src/LibraryStarterKit/Setup.php
@@ -91,7 +91,7 @@ public function getFilesystem(): Filesystem
91
*/
92
public function getFinder(): Finder
93
{
94
- return $this->finder;
+ return $this->finder::create();
95
}
96
97
/**
tests/LibraryStarterKit/SetupTest.php
@@ -42,6 +42,7 @@ public function setUp(): void
42
43
/** @var Finder & MockInterface $finder */
44
$finder = $this->mockery(Finder::class);
45
+ $finder->shouldReceive('create')->andReturn(clone $finder);
46
47
$project = new Project('a-project-name', $this->appPath);
48
0 commit comments