Skip to content

Commit 667b324

Browse files
authored
Merge pull request #8543 from kenjis/fix-phpdoc-BaseModel
docs: fix `@phpstan-type` in Model
2 parents 62b570f + b292c6e commit 667b324

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
@@ -42,7 +42,7 @@
4242
* - process various callbacks
4343
* - allow intermingling calls to the db connection
4444
*
45-
* @phpstan-type row_array array<int|string, float|int|null|string>
45+
* @phpstan-type row_array array<int|string, float|int|null|object|string>
4646
* @phpstan-type event_data_beforeinsert array{data: row_array}
4747
* @phpstan-type event_data_afterinsert array{id: int|string, data: row_array, result: bool}
4848
* @phpstan-type event_data_beforefind array{id?: int|string, method: string, singleton: bool, limit?: int, offset?: int}

0 commit comments

Comments
 (0)