@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | public static function updateRelease($id, $name, $searchName, $fromName, $categoryId, $parts, $grabs, $size, $postedDate, $addedDate, $videoId, $episodeId, $imDbId, $aniDbId): void |
145 | 145 | { |
146 | 146 | $movieInfoId = null; |
147 | - if (! empty($imDbId)) { |
|
147 | + if (!empty($imDbId)) { |
|
148 | 148 | $movieInfoId = MovieInfo::whereImdbid($imDbId)->first(['id']); |
149 | 149 | } |
150 | 150 | self::whereId($id)->update( |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | |
338 | 338 | $releases = $query->get(); |
339 | 339 | |
340 | - $releases->each(function ($release) { |
|
340 | + $releases->each(function($release) { |
|
341 | 341 | $release->group_name = $release->group->name ?? null; |
342 | 342 | $release->showtitle = $release->video->title ?? null; |
343 | 343 | $release->tvdb = $release->video->tvdb ?? null; |
@@ -389,12 +389,12 @@ discard block |
||
389 | 389 | |
390 | 390 | preg_match('/(^\w+[-_. ].+?\.(\d+p)).+/i', $rel['searchname'], $similar); |
391 | 391 | |
392 | - if (! empty($similar)) { |
|
392 | + if (!empty($similar)) { |
|
393 | 393 | if (config('nntmux.elasticsearch_enabled') === true) { |
394 | 394 | $searchResult = (new ElasticSearchSiteSearch)->indexSearch($similar[1], 10); |
395 | 395 | } else { |
396 | 396 | $searchResult = (new ManticoreSearch)->searchIndexes('releases_rt', $similar[1]); |
397 | - if (! empty($searchResult)) { |
|
397 | + if (!empty($searchResult)) { |
|
398 | 398 | $searchResult = Arr::wrap(Arr::get($searchResult, 'id')); |
399 | 399 | } |
400 | 400 | } |