Skip to content

Commit 32bc5bb

Browse files
authored
Merge pull request #1090 from cakephp/phpstan-2.3
Update to PHPStan 2.3
2 parents 42dc2c6 + 3269814 commit 32bc5bb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.phive/phars.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpstan" version="2.1.55" installed="2.1.55" location="./tools/phpstan" copy="false"/>
3+
<phar name="phpstan" version="2.3.0" installed="2.3.0" location="./tools/phpstan" copy="false"/>
44
<phar name="psalm" version="7.0.0-beta19" installed="7.0.0-beta19" location="./tools/psalm" copy="false"/>
55
</phive>

‎src/Log/Engine/DebugKitLog.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function all(): array
6262
*/
6363
public function count(): int
6464
{
65-
return array_reduce($this->_logs, function ($sum, $v) {
65+
return array_reduce($this->_logs, function (int $sum, array $v): int {
6666
return $sum + count($v);
6767
}, 0);
6868
}

0 commit comments

Comments
 (0)