@@ -132,21 +132,21 @@ public function query(string $query, array $parameters = []): StatementInterface
132132 ->query ($ query , $ parameters );
133133 }
134134
135- public function insert (string $ table = null ): InsertQuery
135+ public function insert (? string $ table = null ): InsertQuery
136136 {
137137 return $ this ->getDriver (self ::WRITE )
138138 ->getQueryBuilder ()
139139 ->insertQuery ($ this ->prefix , $ table );
140140 }
141141
142- public function update (string $ table = null , array $ values = [], array $ where = []): UpdateQuery
142+ public function update (? string $ table = null , array $ values = [], array $ where = []): UpdateQuery
143143 {
144144 return $ this ->getDriver (self ::WRITE )
145145 ->getQueryBuilder ()
146146 ->updateQuery ($ this ->prefix , $ table , $ where , $ values );
147147 }
148148
149- public function delete (string $ table = null , array $ where = []): DeleteQuery
149+ public function delete (? string $ table = null , array $ where = []): DeleteQuery
150150 {
151151 return $ this ->getDriver (self ::WRITE )
152152 ->getQueryBuilder ()
@@ -168,7 +168,7 @@ public function select(mixed $columns = '*'): SelectQuery
168168
169169 public function transaction (
170170 callable $ callback ,
171- string $ isolationLevel = null ,
171+ ? string $ isolationLevel = null ,
172172 ): mixed {
173173 $ this ->begin ($ isolationLevel );
174174
@@ -183,7 +183,7 @@ public function transaction(
183183 }
184184 }
185185
186- public function begin (string $ isolationLevel = null ): bool
186+ public function begin (? string $ isolationLevel = null ): bool
187187 {
188188 return $ this ->getDriver (self ::WRITE )->beginTransaction ($ isolationLevel );
189189 }
0 commit comments