Psalm cleanup pass.
This commit is contained in:
1 parent
cc1cdc577a
commit
1e9a600096
10 files changed
+58
-37
No files matched your search
@@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user