Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: PHPStan errors
Browse files Browse the repository at this point in the history
ddevsr committed Aug 22, 2024
1 parent 7569a9e commit 21e7965
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/Commands/Utilities/PhpIniCheck.php
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ public function run(array $params)
return EXIT_ERROR;
}

$argument = isset($params[0]) && $params[0] ? $params[0] : null;
$argument = isset($params[0]) ? $params[0] : null;

CheckPhpIni::run(argument: $argument);

2 changes: 1 addition & 1 deletion tests/system/Commands/Utilities/PhpIniCheckTest.php
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ protected function tearDown(): void
parent::tearDown();
}

protected function getBuffer()
protected function getBuffer(): string
{
return $this->getStreamFilterBuffer();
}

0 comments on commit 21e7965

Please sign in to comment.