Skip to content

Commit cda8b82

Browse files
committed
Fixed compatibility with PHPStan 0.12
1 parent a26551c commit cda8b82

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Reflection/Doctrine/MagicRepositoryMethodReflection.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,9 @@ public function isPublic(): bool
5454
return true;
5555
}
5656

57-
/**
58-
* @return string|false
59-
*/
60-
public function getDocComment()
57+
public function getDocComment(): ?string
6158
{
62-
return false;
59+
return null;
6360
}
6461

6562
public function getName(): string

0 commit comments

Comments
 (0)