Skip to content

Commit

Permalink
[generator] remove unused function
Browse files Browse the repository at this point in the history
I'm planning on refactoring this code, let's get a trivial change out of the way first
  • Loading branch information
shish committed Feb 17, 2025
1 parent 3043e7b commit 6b5efbb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions generator/src/PhpStanFunctions/PhpStanType.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,6 @@ public function isNullable(): bool
return $this->nullable;
}

public function isFalsable(): bool
{
return $this->falsable;
}

/**
* @return array<string>
*/
Expand Down
1 change: 0 additions & 1 deletion generator/tests/PhpStanFunctions/PhpStanTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 6b5efbb

Please sign in to comment.