Passed
Push — master ( 59f42e...ed202f )
by Darko
11:37
created
app/Http/Controllers/DetailsController.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
         if ($guid !== null) {
53 53
             $data = Release::getByGuid($guid);
54 54
             $releaseRegex = '';
55
-            if (! empty($data)) {
55
+            if (!empty($data)) {
56 56
                 $releaseRegex = ReleaseRegex::query()->where('releases_id', '=', $data['id'])->first();
57 57
             }
58 58
 
59
-            if (! $data) {
59
+            if (!$data) {
60 60
                 return redirect()->back();
61 61
             }
62 62
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             $mov = '';
85 85
             if ($data['imdbid'] !== '' && $data['imdbid'] !== 0000000) {
86 86
                 $mov = $this->movieService->getMovieInfo($data['imdbid']);
87
-                if (! empty($mov['title'])) {
87
+                if (!empty($mov['title'])) {
88 88
                     $mov['title'] = str_replace(['/', '\\'], '', $mov['title']);
89 89
                     $mov['actors'] = makeFieldLinks($mov, 'actors', 'movies');
90 90
                     $mov['genre'] = makeFieldLinks($mov, 'genre', 'movies');
@@ -117,22 +117,22 @@  discard block
 block discarded – undo
117 117
             }
118 118
 
119 119
             $game = '';
120
-            if (! empty($data['gamesinfo_id'])) {
120
+            if (!empty($data['gamesinfo_id'])) {
121 121
                 $game = (new GamesService)->getGamesInfoById($data['gamesinfo_id']);
122 122
             }
123 123
 
124 124
             $mus = '';
125
-            if (! empty($data['musicinfo_id'])) {
125
+            if (!empty($data['musicinfo_id'])) {
126 126
                 $mus = (new Music)->getMusicInfo($data['musicinfo_id']);
127 127
             }
128 128
 
129 129
             $book = '';
130
-            if (! empty($data['bookinfo_id'])) {
130
+            if (!empty($data['bookinfo_id'])) {
131 131
                 $book = (new BookService)->getBookInfo($data['bookinfo_id']);
132 132
             }
133 133
 
134 134
             $con = '';
135
-            if (! empty($data['consoleinfo_id'])) {
135
+            if (!empty($data['consoleinfo_id'])) {
136 136
                 $con = (new ConsoleService)->getConsoleInfo($data['consoleinfo_id']);
137 137
             }
138 138
 
Please login to merge, or discard this patch.