File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1235,6 +1235,7 @@ abstract public function affectedRows(): int;
1235
1235
* @param array|bool|float|int|object|string|null $str
1236
1236
*
1237
1237
* @return array|float|int|string
1238
+ * @phpstan-return ($str is array ? array : float|int|string)
1238
1239
*/
1239
1240
public function escape ($ str )
1240
1241
{
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ public function getLastQuery();
134
134
* @param array|bool|float|int|object|string|null $str
135
135
*
136
136
* @return array|float|int|string
137
+ * @phpstan-return ($str is array ? array : float|int|string)
137
138
*/
138
139
public function escape ($ str );
139
140
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ public function affectedRows(): int
172
172
* @param array|bool|float|int|object|string|null $str
173
173
*
174
174
* @return array|float|int|string
175
+ * @phpstan-return ($str is array ? array : float|int|string)
175
176
*/
176
177
public function escape ($ str )
177
178
{
You can’t perform that action at this time.
0 commit comments