|
42 | 42 | * - process various callbacks |
43 | 43 | * - allow intermingling calls to the db connection |
44 | 44 | * |
45 | | - * @phpstan-type row_array array<int|string, float|int|null|string> |
| 45 | + * @phpstan-type row_array array<int|string, float|int|null|string> |
46 | 46 | * @phpstan-type event_data_beforeinsert array{data: row_array} |
47 | | - * @phpstan-type event_data_afterinsert array{id: int|string, data: row_array, result: bool} |
48 | | - * @phpstan-type event_data_beforefind array{id?: int|string, method: string, singleton: bool, limit?: int, offset?: int} |
49 | | - * @phpstan-type event_data_afterfind array{id: int|string|null|list<int|string>, data: row_array|list<row_array>|object|null, method: string, singleton: bool} |
| 47 | + * @phpstan-type event_data_afterinsert array{id: int|string, data: row_array, result: bool} |
| 48 | + * @phpstan-type event_data_beforefind array{id?: int|string, method: string, singleton: bool, limit?: int, offset?: int} |
| 49 | + * @phpstan-type event_data_afterfind array{id: int|string|null|list<int|string>, data: row_array|list<row_array>|object|null, method: string, singleton: bool} |
50 | 50 | * @phpstan-type event_data_beforeupdate array{id: null|list<int|string>, data: row_array} |
51 | | - * @phpstan-type event_data_afterupdate array{id: null|list<int|string>, data: row_array|object, result: bool} |
| 51 | + * @phpstan-type event_data_afterupdate array{id: null|list<int|string>, data: row_array|object, result: bool} |
52 | 52 | * @phpstan-type event_data_beforedelete array{id: null|list<int|string>, purge: bool} |
53 | | - * @phpstan-type event_data_afterdelete array{id: null|list<int|string>, data: null, purge: bool, result: bool} |
| 53 | + * @phpstan-type event_data_afterdelete array{id: null|list<int|string>, data: null, purge: bool, result: bool} |
54 | 54 | */ |
55 | 55 | abstract class BaseModel |
56 | 56 | { |
|
0 commit comments