Passed
Push — master ( 6b9629...71dfd6 )
by Andrey
12:11 queued 09:21
created
2020_06_04_000003_modify_roles_and_permissions_table_optimize_indexes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
     protected function optimizeIndexes(string $table, string $first_key, string $second_key)
21 21
     {
22
-        $this->table($table, function (Blueprint $table) use ($first_key, $second_key) {
22
+        $this->table($table, function(Blueprint $table) use ($first_key, $second_key) {
23 23
             $table->dropPrimary([$first_key, $second_key]);
24 24
 
25 25
             $table->index($first_key);
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     protected function revertIndexes(string $table, string $first_key, string $second_key)
30 30
     {
31
-        $this->table($table, function (Blueprint $table) use ($first_key, $second_key) {
31
+        $this->table($table, function(Blueprint $table) use ($first_key, $second_key) {
32 32
             $table->dropIndex([$first_key]);
33 33
 
34 34
             $table->primary([$first_key, $second_key]);
Please login to merge, or discard this patch.