Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function test(string $filePath): void

public static function provideData(): Iterator
{
return AddNameToBooleanArgumentRectorTest::yieldFilesFromDirectory(__DIR__ . '/Fixture');
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
}

public function provideConfigFilePath(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ private function isPropertyFetchOnClassWithMagicGet(Expr $expr): bool
return false;
}

return $this->reflectionProvider->getClass($varType->getClassName())->hasMethod('__get');
return $this->reflectionProvider->getClass($varType->getClassName())
->hasMethod('__get');
}

private function isValidUnionType(Type $type): bool
Expand Down
Loading