Skip to content

Commit 1e66dcb

Browse files
authored
Merge pull request #5 from compwright/1.x
Fix types for PHP 8.4
2 parents 69414db + c5b34c1 commit 1e66dcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Statement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __clone()
5151
}
5252
}
5353

54-
public function bindInline(mixed $value, int $type = null) : string
54+
public function bindInline(mixed $value, ?int $type = null) : string
5555
{
5656
return $this->bind->inline($value, $type);
5757
}
@@ -61,7 +61,7 @@ public function bindSprintf(string $format, mixed ...$values) : string
6161
return $this->bind->sprintf($format, ...$values);
6262
}
6363

64-
public function bindValue(string $key, mixed $value, int $type = null) : static
64+
public function bindValue(string $key, mixed $value, ?int $type = null) : static
6565
{
6666
$this->bind->value($key, $value, $type);
6767
return $this;

0 commit comments

Comments
 (0)