feat: Semi-persistent local filtering on table through URL parameters #885
Annotations
3 errors
lib/Db/View.php#L173
lib/Db/View.php:173:19: InvalidReturnType: The declared return type 'array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, favorite: bool, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}' for OCA\Tables\Db\View::jsonSerialize is incorrect, got 'array{columnValues: array<array-key, mixed>, columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, favorite: bool, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rows: array<array-key, mixed>, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}' which is different due to additional array shape fields (rows, columnValues) (see https://psalm.dev/011)
|
lib/Db/View.php#L200
lib/Db/View.php:200:10: InvalidReturnStatement: The inferred type 'array{columnValues: array<array-key, mixed>, columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, favorite: bool, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rows: array<array-key, mixed>, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}' does not match the declared return type 'array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, favorite: bool, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}' for OCA\Tables\Db\View::jsonSerialize due to additional array shape fields (rows, columnValues) (see https://psalm.dev/128)
|
|
The logs for this run have expired and are no longer available.
Loading