Skip to content

Commit a35d1bc

Browse files
committed
docs: fix types in doc comments
1 parent 5fe53ec commit a35d1bc

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
@@ -1233,9 +1233,9 @@ abstract public function affectedRows(): int;
12331233
* Escapes data based on type.
12341234
* Sets boolean and null types
12351235
*
1236-
* @param mixed $str
1236+
* @param array|bool|float|int|object|string|null $str
12371237
*
1238-
* @return mixed
1238+
* @return array|float|int|string
12391239
*/
12401240
public function escape($str)
12411241
{

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
@@ -172,9 +172,9 @@ public function affectedRows(): int
172172
*
173173
* Escapes data based on type
174174
*
175-
* @param mixed $str
175+
* @param array|bool|float|int|object|string|null $str
176176
*
177-
* @return mixed
177+
* @return array|float|int|string
178178
*/
179179
public function escape($str)
180180
{

0 commit comments

Comments
 (0)