Skip to content

Commit

Permalink
docs: add the type to row_array in model.
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-yee committed Nov 13, 2024
1 parent fcf37d6 commit b8b7635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/BaseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* - process various callbacks
* - allow intermingling calls to the db connection
*
* @phpstan-type row_array array<int|string, float|int|null|object|string>
* @phpstan-type row_array array<int|string, float|int|null|object|string|bool>
* @phpstan-type event_data_beforeinsert array{data: row_array}
* @phpstan-type event_data_afterinsert array{id: int|string, data: row_array, result: bool}
* @phpstan-type event_data_beforefind array{id?: int|string, method: string, singleton: bool, limit?: int, offset?: int}
Expand Down

0 comments on commit b8b7635

Please sign in to comment.