Passed
Push — master ( f56560...ff4ea0 )
by Ron
03:41
created
app/Http/Controllers/Worlds/WorldController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
     public function getTycoons($world_id, $initial = null)
28 28
     {
29 29
         if (!empty($initial)) {
30
-           return Tycoon::where('name', 'like', $initial . '%')
31
-               ->leftjoin('worlds_tycoons', 'tycoons.id', '=', 'worlds_tycoons.id')
32
-               ->where('worlds_tycoons.world_id', $world_id)
33
-               ->get();
30
+            return Tycoon::where('name', 'like', $initial . '%')
31
+                ->leftjoin('worlds_tycoons', 'tycoons.id', '=', 'worlds_tycoons.id')
32
+                ->where('worlds_tycoons.world_id', $world_id)
33
+                ->get();
34 34
 
35 35
         } else {
36 36
             return World::where('id', $world_id)->with('tycoons.tycoon')->get();
Please login to merge, or discard this patch.