Skip to content

Commit

Permalink
Dev: PSR-12 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 28, 2023
1 parent 1438be9 commit 4741ba8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions application/core/LSGettextMoFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ class LSGettextMoFile extends CGettextMoFile
/**
* @inheritdoc
*/
protected function readString($fr,$length,$offset=null)
protected function readString($fr, $length, $offset = null)
{
if($offset!==null)
fseek($fr,$offset);
return (string)$this->readByte($fr,$length);
if($offset !== null) {
fseek($fr, $offset);
}
return (string) $this->readByte($fr, $length);
}
}

0 comments on commit 4741ba8

Please sign in to comment.