| @@ -44,7 +44,7 @@ | ||
| 44 | 44 | public function setKey(string $key, string $checkContent = ''): void | 
| 45 | 45 |      { | 
| 46 | 46 | $this->specialKey = $key; | 
| 47 | - $this->checkContent = empty($checkContent) ? strval(getmypid()) : $checkContent ; | |
| 47 | + $this->checkContent = empty($checkContent) ? strval(getmypid()) : $checkContent; | |
| 48 | 48 | } | 
| 49 | 49 | |
| 50 | 50 | public function has(): bool | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | public function __construct(string $tempPath, ?IKLTranslations $lang = null) | 
| 32 | 32 |      { | 
| 33 | 33 | $this->setKlLang($lang); | 
| 34 | -        if (\defined('PHP_OS_FAMILY') && in_array(PHP_OS_FAMILY, ['Windows', 'Unknown']) ) { | |
| 34 | +        if (\defined('PHP_OS_FAMILY') && in_array(PHP_OS_FAMILY, ['Windows', 'Unknown'])) { | |
| 35 | 35 | throw new LockException($this->getKlLang()->iklCannotUseOS()); | 
| 36 | 36 | } | 
| 37 | 37 |          if (\DIRECTORY_SEPARATOR === '\\') { | 
| @@ -51,7 +51,7 @@ | ||
| 51 | 51 |      { | 
| 52 | 52 |          try { | 
| 53 | 53 | $this->specialKey = $this->arrPt->setString($key)->getArray(); | 
| 54 | - $this->checkContent = empty($checkContent) ? strval(getmypid()) : $checkContent ; | |
| 54 | + $this->checkContent = empty($checkContent) ? strval(getmypid()) : $checkContent; | |
| 55 | 55 | // @codeCoverageIgnoreStart | 
| 56 | 56 |          } catch (PathsException $ex) { | 
| 57 | 57 | throw new LockException($this->getKlLang()->iklCannotUsePath($key), $ex->getCode(), $ex); | 
| @@ -49,7 +49,7 @@ | ||
| 49 | 49 | */ | 
| 50 | 50 | public function iklCannotOpenFile(string $lockFilename): string | 
| 51 | 51 |      { | 
| 52 | - return 'Could not open lock file: '. $lockFilename; | |
| 52 | + return 'Could not open lock file: ' . $lockFilename; | |
| 53 | 53 | } | 
| 54 | 54 | |
| 55 | 55 | /** |