Skip to content

Commit 1ef6616

Browse files
committed
Fix phan failure
1 parent 8f4ec9c commit 1ef6616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/VM/Variable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function int(int $value): void {
109109

110110
public function is(int $type): bool {
111111
if ($this->type === $type) {
112-
return $type;
112+
return true;
113113
}
114114
if ($this->type === self::TYPE_INDIRECT) {
115115
return $this->indirect->is($type);

0 commit comments

Comments
 (0)