From 3815f6dbf3bd4d0884b018a0a79a702f5addeeab Mon Sep 17 00:00:00 2001 From: Francisco Ernesto Teixeira Date: Sun, 5 Jun 2022 19:10:37 -0300 Subject: [PATCH] Fix to creating params and autoconverting to multiple arrays. Error: Array to string conversion. --- src/Db/Core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Db/Core.php b/src/Db/Core.php index 8033375..cb91e6f 100644 --- a/src/Db/Core.php +++ b/src/Db/Core.php @@ -274,7 +274,7 @@ public function query(string $sql): self * * @param array|string $data The data to bind to string */ - public function bind(...$bindings): self + public function bind($bindings): self { $this->bindings = $bindings; return $this;