Completed
Push — master ( 5eb3ff...ebed0b )
by Jeremy
12:36
created
app/Services/SoundServices.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     public static function storeNewSound($soundData)
79 79
     {
80 80
         $lastSound = collect(Sound::sortedSounds()->get())->last();
81
-        $sort_order = ['sort_order' => $lastSound->sort_order + 1];
81
+        $sort_order = [ 'sort_order' => $lastSound->sort_order + 1 ];
82 82
         $newSound = Sound::create(array_merge($soundData, $sort_order));
83 83
 
84 84
         return $newSound;
Please login to merge, or discard this patch.
app/Http/Controllers/SoundsController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $sound = SoundServices::getBlankSound();
48 48
 
49
-        return view('pages.sounds.create', ['sound' => $sound]);
49
+        return view('pages.sounds.create', [ 'sound' => $sound ]);
50 50
     }
51 51
 
52 52
     /**
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $sound = SoundServices::getSound($id);
79 79
 
80
-        return view('pages.sounds.show', ['sound' => $sound]);
80
+        return view('pages.sounds.show', [ 'sound' => $sound ]);
81 81
     }
82 82
 
83 83
     /**
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     {
92 92
         $sound = SoundServices::getSound($id);
93 93
 
94
-        return view('pages.sounds.edit', ['sound' => $sound]);
94
+        return view('pages.sounds.edit', [ 'sound' => $sound ]);
95 95
     }
96 96
 
97 97
     /**
Please login to merge, or discard this patch.