Passed
Push — master ( bf075b...6deca2 )
by Petr
07:21
created
php-src/Methods/PidLock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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 === '\\') {
Please login to merge, or discard this patch.
php-src/Methods/FilesLock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.