static code analysis fixes

This commit is contained in:
Dennis Eichhorn 2022-04-05 20:04:47 +02:00
parent f67798dbd1
commit 00612444d6
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class Calendar
$key = \key($this->events);
\reset($this->events);
return $key ?? 0;
return $key;
}
/**

View File

@ -12,7 +12,7 @@
"friendsofphp/php-cs-fixer": ">=3.2",
"squizlabs/php_codesniffer": ">=3.6",
"phpmd/phpmd": ">=2.9",
"phpstan/phpstan": ">=0.12.58",
"phpstan/phpstan": ">=1.5.4",
"phan/phan": ">=3.2.6"
},
"minimum-stability": "dev",