upgrade to phpstan lvl 9

This commit is contained in:
Fabio Ivona
2021-11-18 23:27:37 +01:00
parent 9dd40e4610
commit 7ea6d8a35d
6 changed files with 70 additions and 11 deletions

View File

@ -37,7 +37,7 @@ final class Container
*
* @param class-string $id
*
* @return object
* @return mixed
*/
public function get(string $id)
{

View File

@ -40,6 +40,7 @@ final class HigherOrderMessageCollection
public function chain(object $target): void
{
foreach ($this->messages as $message) {
//@phpstan-ignore-next-line
$target = $message->call($target) ?? $target;
}
}