Skip to content

Commit 858a3e1

Browse files
committed
Ignore phpstan errors
1 parent f66084e commit 858a3e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Result.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ public function fetch(string $class = null, mixed ...$constructor) : object | nu
132132
$class ??= $this->fetchClass;
133133
$constructor = $constructor ?: $this->fetchConstructor;
134134
if ($constructor) {
135+
// @phpstan-ignore-next-line
135136
return $this->result->fetch_object($class, $constructor);
136137
}
138+
// @phpstan-ignore-next-line
137139
return $this->result->fetch_object($class);
138140
}
139141

0 commit comments

Comments
 (0)