Add isActive method to site #14
Annotations
12 errors
InvalidReturnType:
src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
|
InvalidReturnStatement:
src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
|
static-analysis (8.1)
Process completed with exit code 2.
|
InvalidReturnType:
src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
|
InvalidReturnStatement:
src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
|
static-analysis (8.2)
Process completed with exit code 2.
|
InvalidReturnType:
src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
|
InvalidReturnStatement:
src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
|
static-analysis (8.0)
Process completed with exit code 2.
|
InvalidReturnType:
src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
|
InvalidReturnStatement:
src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
|
static-analysis (7.4)
Process completed with exit code 2.
|