Passed
Push — master ( 278193...cfb0f8 )
by Darko
06:43
created
Blacklight/NZBImport.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     public function beginImport($filesToProcess, bool $useNzbName = false, bool $delete = false, bool $deleteFailed = false): bool|string
81 81
     {
82 82
         // Get all the groups in the DB.
83
-        if (! $this->getAllGroups()) {
83
+        if (!$this->getAllGroups()) {
84 84
             if ($this->browser) {
85 85
                 return $this->retVal;
86 86
             }
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
                     gzwrite($fp, $nzbString);
146 146
                     gzclose($fp);
147 147
 
148
-                    if (! File::isFile($path)) {
148
+                    if (!File::isFile($path)) {
149 149
                         $this->echoOut('ERROR: Problem compressing NZB file to: '.$path);
150 150
 
151 151
                         // Remove the release.
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
                 if ($groupID === -1) {
232 232
                     if (array_key_exists($group, $this->allGroups)) {
233 233
                         $groupID = $this->allGroups[$group];
234
-                        if (! $groupName) {
234
+                        if (!$groupName) {
235 235
                             $groupName = $group;
236 236
                         }
237 237
                     } else {
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
             }
266 266
 
267 267
             // If we found a group and it's not blacklisted.
268
-            if ($groupID !== -1 && ! $isBlackListed) {
268
+            if ($groupID !== -1 && !$isBlackListed) {
269 269
                 // Get the size of the release.
270 270
                 if (\count($file->segments->segment) > 0) {
271 271
                     foreach ($file->segments->segment as $segment) {
Please login to merge, or discard this patch.