Skip to content

Commit 0e829c3

Browse files
committed
[generator] remove unused function
I'm planning on refactoring this code, let's get a trivial change out of the way first
1 parent 3043e7b commit 0e829c3

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

generator/src/PhpStanFunctions/PhpStanType.php

-5
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,6 @@ public function isNullable(): bool
214214
return $this->nullable;
215215
}
216216

217-
public function isFalsable(): bool
218-
{
219-
return $this->falsable;
220-
}
221-
222217
/**
223218
* @return array<string>
224219
*/

generator/tests/PhpStanFunctions/PhpStanTypeTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public function testParenthesisOutsideOfCallable(): void
8888
public function testFalsable(): void
8989
{
9090
$param = new PhpStanType('string|false');
91-
$this->assertEquals(true, $param->isFalsable());
9291
$this->assertEquals('string|false', $param->getDocBlockType());
9392
$this->assertEquals('string', $param->getSignatureType());
9493
}

0 commit comments

Comments
 (0)