Passed
Push — master ( 4a77b9...189322 )
by Darko
06:38
created
app/Http/Controllers/DetailsController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
             $re = new ReleaseExtra;
35 35
             $data = Release::getByGuid($guid);
36 36
             $releaseRegex = '';
37
-            if (! empty($data)) {
37
+            if (!empty($data)) {
38 38
                 $releaseRegex = ReleaseRegex::query()->where('releases_id', '=', $data['id'])->first();
39 39
             }
40 40
 
41
-            if (! $data) {
41
+            if (!$data) {
42 42
                 return redirect()->back();
43 43
             }
44 44
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             if ($data['imdbid'] !== '' && $data['imdbid'] !== 0000000) {
65 65
                 $movie = new Movie(['Settings' => $this->settings]);
66 66
                 $mov = $movie->getMovieInfo($data['imdbid']);
67
-                if (! empty($mov['title'])) {
67
+                if (!empty($mov['title'])) {
68 68
                     $mov['title'] = str_replace(['/', '\\'], '', $mov['title']);
69 69
                     $mov['actors'] = makeFieldLinks($mov, 'actors', 'movies');
70 70
                     $mov['genre'] = makeFieldLinks($mov, 'genre', 'movies');
Please login to merge, or discard this patch.