Skip to content

Commit

Permalink
fix: PHPStan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevsr committed Aug 22, 2024
1 parent 7569a9e commit 21e7965
Show file tree
Hide file tree
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
Expand Up @@ -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);

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

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

0 comments on commit 21e7965

Please sign in to comment.