Skip to content

Commit 7cbd3c3

Browse files
Merge pull request #18 from dayspring-tech/hotfix/fix_covariant
fix missing return types on Column
2 parents 312973a + a39908e commit 7cbd3c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Fixtures/Column.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct(private $name, protected $type)
1818
$this->phpName = ucfirst($this->name);
1919
}
2020

21-
public function isText()
21+
public function isText(): bool
2222
{
2323
if (!$this->type) {
2424
return false;
@@ -34,7 +34,7 @@ public function getSize()
3434
return $this->isText() ? 255 : 0;
3535
}
3636

37-
public function isNotNull()
37+
public function isNotNull(): bool
3838
{
3939
return 'id' === $this->name;
4040
}

0 commit comments

Comments
 (0)