Skip to content

Commit f83b966

Browse files
committed
Fixed compatibility with PHPStan 0.12
1 parent 404b83a commit f83b966

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Mockery/Reflection/StubMethodReflection.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,9 @@ public function getVariants(): array
6363
];
6464
}
6565

66-
/**
67-
* @return string|false
68-
*/
69-
public function getDocComment()
66+
public function getDocComment(): ?string
7067
{
71-
return false;
68+
return null;
7269
}
7370

7471
public function isDeprecated(): \PHPStan\TrinaryLogic

0 commit comments

Comments
 (0)