Skip to content

Commit b8b7635

Browse files
committed
docs: add the type to row_array in model.
1 parent fcf37d6 commit b8b7635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/BaseModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* - process various callbacks
4747
* - allow intermingling calls to the db connection
4848
*
49-
* @phpstan-type row_array array<int|string, float|int|null|object|string>
49+
* @phpstan-type row_array array<int|string, float|int|null|object|string|bool>
5050
* @phpstan-type event_data_beforeinsert array{data: row_array}
5151
* @phpstan-type event_data_afterinsert array{id: int|string, data: row_array, result: bool}
5252
* @phpstan-type event_data_beforefind array{id?: int|string, method: string, singleton: bool, limit?: int, offset?: int}

0 commit comments

Comments
 (0)