Skip to content

Commit cb08cc7

Browse files
committed
Update method signatures
1 parent a2e5dc6 commit cb08cc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Result.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function fetchAll(string $class = null, mixed ...$constructor) : array
166166
*
167167
* @return object|null
168168
*/
169-
public function fetchRow(int $offset, string $class = null, mixed ...$constructor) : object | null
169+
public function fetchRow(int $offset, string $class = null, mixed ...$constructor) : object
170170
{
171171
$this->checkIsFree();
172172
$this->moveCursor($offset);
@@ -178,7 +178,7 @@ public function fetchRow(int $offset, string $class = null, mixed ...$constructo
178178
*
179179
* @return array<string,int|string|null>|null
180180
*/
181-
public function fetchArray() : ?array
181+
public function fetchArray() : array | null
182182
{
183183
$this->checkIsFree();
184184
return $this->result->fetch_assoc();

0 commit comments

Comments
 (0)