Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading