aboutsummaryrefslogtreecommitdiff
path: root/src/BoundVal.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/BoundVal.php')
-rw-r--r--src/BoundVal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BoundVal.php b/src/BoundVal.php
index 7a3560a..892396e 100644
--- a/src/BoundVal.php
+++ b/src/BoundVal.php
@@ -24,7 +24,7 @@ class BoundVal
public static function ofFloat($val): self { return new self($val, SQLITE3_FLOAT); }
public static function ofText($val): self { return new self($val, SQLITE3_TEXT); }
public static function ofBlob($val): self { return new self($val, SQLITE3_BLOB); }
- public static function ofNull($val): self { return new self($val, SQLITE3_NULL); }
+ public static function ofNull(): self { return new self(null, SQLITE3_NULL); }
public function bind(SQLite3Stmt $stmt, $where): void
{