diff --git a/generator/src/PhpStanFunctions/PhpStanType.php b/generator/src/PhpStanFunctions/PhpStanType.php index 9f112328..3e897418 100644 --- a/generator/src/PhpStanFunctions/PhpStanType.php +++ b/generator/src/PhpStanFunctions/PhpStanType.php @@ -214,11 +214,6 @@ public function isNullable(): bool return $this->nullable; } - public function isFalsable(): bool - { - return $this->falsable; - } - /** * @return array */ diff --git a/generator/tests/PhpStanFunctions/PhpStanTypeTest.php b/generator/tests/PhpStanFunctions/PhpStanTypeTest.php index 0842ef90..3c7df015 100644 --- a/generator/tests/PhpStanFunctions/PhpStanTypeTest.php +++ b/generator/tests/PhpStanFunctions/PhpStanTypeTest.php @@ -88,7 +88,6 @@ public function testParenthesisOutsideOfCallable(): void public function testFalsable(): void { $param = new PhpStanType('string|false'); - $this->assertEquals(true, $param->isFalsable()); $this->assertEquals('string|false', $param->getDocBlockType()); $this->assertEquals('string', $param->getSignatureType()); }