We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3043e7b commit 0e829c3Copy full SHA for 0e829c3
generator/src/PhpStanFunctions/PhpStanType.php
@@ -214,11 +214,6 @@ public function isNullable(): bool
214
return $this->nullable;
215
}
216
217
- public function isFalsable(): bool
218
- {
219
- return $this->falsable;
220
- }
221
-
222
/**
223
* @return array<string>
224
*/
generator/tests/PhpStanFunctions/PhpStanTypeTest.php
@@ -88,7 +88,6 @@ public function testParenthesisOutsideOfCallable(): void
88
public function testFalsable(): void
89
{
90
$param = new PhpStanType('string|false');
91
- $this->assertEquals(true, $param->isFalsable());
92
$this->assertEquals('string|false', $param->getDocBlockType());
93
$this->assertEquals('string', $param->getSignatureType());
94
0 commit comments