Skip to content

Commit 21e7965

Browse files
committed
fix: PHPStan errors
1 parent 7569a9e commit 21e7965

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/Commands/Utilities/PhpIniCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function run(array $params)
8080
return EXIT_ERROR;
8181
}
8282

83-
$argument = isset($params[0]) && $params[0] ? $params[0] : null;
83+
$argument = isset($params[0]) ? $params[0] : null;
8484

8585
CheckPhpIni::run(argument: $argument);
8686

tests/system/Commands/Utilities/PhpIniCheckTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function tearDown(): void
3737
parent::tearDown();
3838
}
3939

40-
protected function getBuffer()
40+
protected function getBuffer(): string
4141
{
4242
return $this->getStreamFilterBuffer();
4343
}

0 commit comments

Comments
 (0)