Skip to content

Commit

Permalink
Merge pull request #512 from fatchip-Stefan/SW-443
Browse files Browse the repository at this point in the history
SW-443: fixed more code quality issues
  • Loading branch information
janteuber authored Oct 12, 2023
2 parents ef47cfb + 68a46a9 commit 0775bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function getClassConstants($class)
try {
$cardtype = new ReflectionClass($class);
if (is_object($cardtype)) {
$constants = $cardtype->getConstants();
$constants = $cardtype->getConstants(); /** @phpstan-ignore-line */
}
} catch (ReflectionException $e) {
$constants = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,6 @@ private function lopen()
{
$log_file_default = '/tmp/logfile.txt';
$lfile = $this->log_file ? $this->log_file : $log_file_default;
$this->fp = fopen($lfile, 'a') or exit("Can't open $lfile!");
$this->fp = fopen($lfile, 'a');
}
}

0 comments on commit 0775bf2

Please sign in to comment.