Psalm cleanup pass.

This commit is contained in:
Andrey Savchenko committed 2019-06-15 10:11:50 +03:00
1 parent cc1cdc577a
commit 1e9a600096
10 files changed
+58 -37

No files matched your search

+7
View File
@@ -42,7 +42,14 @@ class Record_Provider implements ServiceProviderInterface, Bootable_Provider_Int
return new Lazy_Proxy_Collector( $laps['collectors'] );
};
/**
* @psalm-suppress MixedInferredReturnType
*/
$pimple['records'] = function ( Plugin $laps ): array {
/**
* @psalm-suppress MixedMethodCall
* @psalm-suppress MixedReturnStatement
*/
return $laps['records.lazy']->get_records();
};
}