Skip to content

Commit a2ecbd2

Browse files
committed
docs: fix types in doc comments
1 parent ddee0c6 commit a2ecbd2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

system/Database/BaseConnection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,9 +1231,9 @@ abstract public function affectedRows(): int;
12311231
* Escapes data based on type.
12321232
* Sets boolean and null types
12331233
*
1234-
* @param mixed $str
1234+
* @param array|bool|float|int|object|string|null $str
12351235
*
1236-
* @return mixed
1236+
* @return array|float|int|string
12371237
*/
12381238
public function escape($str)
12391239
{

system/Database/ConnectionInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ public function getLastQuery();
131131
* Escapes data based on type.
132132
* Sets boolean and null types.
133133
*
134-
* @param mixed $str
134+
* @param array|bool|float|int|object|string|null $str
135135
*
136-
* @return mixed
136+
* @return array|float|int|string
137137
*/
138138
public function escape($str);
139139

system/Database/Postgre/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ public function affectedRows(): int
169169
*
170170
* Escapes data based on type
171171
*
172-
* @param mixed $str
172+
* @param array|bool|float|int|object|string|null $str
173173
*
174-
* @return mixed
174+
* @return array|float|int|string
175175
*/
176176
public function escape($str)
177177
{

0 commit comments

Comments
 (0)