Skip to content

Commit affb2b0

Browse files
committed
Address newly detected PHPStan issues
1 parent 5a6ac71 commit affb2b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/EventListener/SchemaFilterListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(string $configurationTableName)
2727
/** @var bool */
2828
private $enabled = false;
2929

30-
/** @param AbstractAsset|string $asset */
30+
/** @param AbstractAsset<*>|string $asset */
3131
public function __invoke($asset): bool
3232
{
3333
if (! $this->enabled) {

tests/Collector/EventListener/SchemaFilterListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function testItFiltersNothingWhenNotRunningSpecificCommands(): void
4949
public function testItFiltersOutMigrationMetadataTableWhenRunningSpecificCommands(string $command): void
5050
{
5151
$listener = new SchemaFilterListener('doctrine_migration_versions');
52-
$ormCommand = new $command($this->createStub(EntityManagerProvider::class));
52+
$ormCommand = new $command(self::createStub(EntityManagerProvider::class));
5353

5454
$listener->onConsoleCommand(new ConsoleCommandEvent(
5555
$ormCommand,

0 commit comments

Comments
 (0)