@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | $this->colorCLI->header('Removing '.($type === '' ? 'All crap releases ' : $type.' crap releases').' - no time limit.', true); |
155 | 155 | } |
156 | 156 | } else { |
157 | - if (! is_numeric($time)) { |
|
157 | + if (!is_numeric($time)) { |
|
158 | 158 | $this->error = 'Error, time must be a number or full.'; |
159 | 159 | |
160 | 160 | return $this->returnError(); |
@@ -630,7 +630,7 @@ discard block |
||
630 | 630 | { |
631 | 631 | $status = sprintf('AND status = %d', Binaries::BLACKLIST_ENABLED); |
632 | 632 | |
633 | - if (! empty($this->blacklistID) && $this->delete === false) { |
|
633 | + if (!empty($this->blacklistID) && $this->delete === false) { |
|
634 | 634 | $status = ''; |
635 | 635 | } |
636 | 636 | |
@@ -730,7 +730,7 @@ discard block |
||
730 | 730 | $searchResult = (new ElasticSearchSiteSearch())->indexSearch($regexMatch, 100); |
731 | 731 | } else { |
732 | 732 | $searchResult = (new ManticoreSearch())->searchIndexes('releases_rt', $regexMatch, ['name,searchname']); |
733 | - if (! empty($searchResult)) { |
|
733 | + if (!empty($searchResult)) { |
|
734 | 734 | $searchResult = Arr::wrap(Arr::get($searchResult, 'id')); |
735 | 735 | } |
736 | 736 | } |
@@ -1110,7 +1110,7 @@ discard block |
||
1110 | 1110 | } |
1111 | 1111 | break; |
1112 | 1112 | case 'size': |
1113 | - if (! is_numeric($args[2])) { |
|
1113 | + if (!is_numeric($args[2])) { |
|
1114 | 1114 | break; |
1115 | 1115 | } |
1116 | 1116 | switch ($args[1]) { |
@@ -1125,7 +1125,7 @@ discard block |
||
1125 | 1125 | } |
1126 | 1126 | break; |
1127 | 1127 | case 'adddate': |
1128 | - if (! is_numeric($args[2])) { |
|
1128 | + if (!is_numeric($args[2])) { |
|
1129 | 1129 | break; |
1130 | 1130 | } |
1131 | 1131 | switch ($args[1]) { |
@@ -1138,7 +1138,7 @@ discard block |
||
1138 | 1138 | } |
1139 | 1139 | break; |
1140 | 1140 | case 'postdate': |
1141 | - if (! is_numeric($args[2])) { |
|
1141 | + if (!is_numeric($args[2])) { |
|
1142 | 1142 | break; |
1143 | 1143 | } |
1144 | 1144 | switch ($args[1]) { |
@@ -1151,7 +1151,7 @@ discard block |
||
1151 | 1151 | } |
1152 | 1152 | break; |
1153 | 1153 | case 'completion': |
1154 | - if (! is_numeric($args[2])) { |
|
1154 | + if (!is_numeric($args[2])) { |
|
1155 | 1155 | break; |
1156 | 1156 | } |
1157 | 1157 | if ($args[1] === 'smaller') { |