Passed
Push — master ( a2ca69...fef7b2 )
by Robin
02:30
created
src/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                     }
73 73
                     $code = array_filter(array_slice($lines, $start, $end - $start + 1, true), 'trim');
74 74
                     $max = strlen($end);
75
-                    $cite->code = implode("\n", array_map(function ($u, $v) use ($max) {
75
+                    $cite->code = implode("\n", array_map(function($u, $v) use ($max) {
76 76
                         return sprintf("%{$max}d    %s", $u + 1, rtrim($v));
77 77
                     }, array_keys($code), $code));
78 78
                     $cite->save();
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     function sweep()
92 92
     {
93 93
         array_map(
94
-            function ($u) {
94
+            function($u) {
95 95
                 $u->sweep();
96 96
             },
97 97
             array_merge(
Please login to merge, or discard this patch.
src/model/VocabCite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         if ($line) {
39 39
             foreach ($this->terms()->get() as $term) {
40 40
                 $keywords = ["localize('{$term->term}')", 'localize("' . $term->term . '")'];
41
-                $matched = array_filter(array_map(function ($u) use ($line) {
41
+                $matched = array_filter(array_map(function($u) use ($line) {
42 42
                     return strpos($line, $u);
43 43
                 }, $keywords), 'strlen');
44 44
                 if (empty($matched)) {
Please login to merge, or discard this patch.
src/migration/2019_03_10_110221_create_queue_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
             if (!Schema::connection($connection)->hasTable(config('queue.failed.table'))) {
19 19
                 Schema::connection($connection)->create(
20 20
                     config('queue.failed.table'),
21
-                    function (Blueprint $table) {
21
+                    function(Blueprint $table) {
22 22
                         $table->bigIncrements('id');
23 23
                         $table->text('connection');
24 24
                         $table->text('queue');
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             if (!Schema::connection($connection)->hasTable(config('queue.connections.database.table'))) {
33 33
                 Schema::connection($connection)->create(
34 34
                     config('queue.connections.database.table'),
35
-                    function (Blueprint $table) {
35
+                    function(Blueprint $table) {
36 36
                         $table->bigIncrements('id');
37 37
                         $table->string('queue')->index();
38 38
                         $table->longText('payload');
Please login to merge, or discard this patch.
src/model/VocabTerm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             call_user_func_array(
61 61
                 'array_merge',
62 62
                 array_map(
63
-                    function ($u) {
63
+                    function($u) {
64 64
                         return array_keys($u->translation);
65 65
                     },
66 66
                     self::get()->all()
Please login to merge, or discard this patch.