Passed
Push — master ( 7bda7f...9cd4ea )
by Darko
11:09
created
app/Services/Nzb/NzbImportService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     public function beginImport($filesToProcess, bool $useNzbName = false, bool $delete = false, bool $deleteFailed = false, int $source = 1): bool|string
85 85
     {
86 86
         // Get all the groups in the DB.
87
-        if (! $this->getAllGroups()) {
87
+        if (!$this->getAllGroups()) {
88 88
             if ($this->browser) {
89 89
                 return $this->retVal;
90 90
             }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
                     gzwrite($fp, $nzbString);
175 175
                     gzclose($fp);
176 176
 
177
-                    if (! File::isFile($path)) {
177
+                    if (!File::isFile($path)) {
178 178
                         $this->echoOut('ERROR: Problem compressing NZB file to: '.$path);
179 179
 
180 180
                         // Remove the release.
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
                 if ($groupID === -1) {
262 262
                     if (array_key_exists($group, $this->allGroups)) {
263 263
                         $groupID = $this->allGroups[$group];
264
-                        if (! $groupName) {
264
+                        if (!$groupName) {
265 265
                             $groupName = $group;
266 266
                         }
267 267
                     } else {
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
             }
296 296
 
297 297
             // If we found a group and it's not blacklisted.
298
-            if ($groupID !== -1 && ! $isBlackListed) {
298
+            if ($groupID !== -1 && !$isBlackListed) {
299 299
                 // Get the size of the release.
300 300
                 if (\count($file->segments->segment) > 0) {
301 301
                     foreach ($file->segments->segment as $segment) {
Please login to merge, or discard this patch.