expose default-limit to capabilities #273
Annotations
3 errors
Run coding standards check:
lib/Capabilities.php#L24
lib/Capabilities.php:24:13: InvalidReturnType: The declared return type 'array{downloadlimit: array{enabled: true}}' for OCA\Files_DownloadLimit\Capabilities::getCapabilities is incorrect, got 'array{downloadlimit: array{'default-limit': int, enabled: true}}' which is different due to additional array shape fields (default-limit) (see https://psalm.dev/011)
|
Run coding standards check:
lib/Capabilities.php#L27
lib/Capabilities.php:27:10: InvalidReturnStatement: The inferred type 'array{downloadlimit: array{'default-limit': int, enabled: true}}' does not match the declared return type 'array{downloadlimit: array{enabled: true}}' for OCA\Files_DownloadLimit\Capabilities::getCapabilities due to additional array shape fields (default-limit) (see https://psalm.dev/128)
|
Run coding standards check
Process completed with exit code 2.
|
Loading