Passed
Pull Request — master (#2414)
by Rico
06:57
created
app/Log.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         } else {
63 63
             $ip_address = '127.0.0.1';
64 64
         }
65
-        $tree_id    = $tree ? $tree->id() : null;
65
+        $tree_id = $tree ? $tree->id() : null;
66 66
 
67 67
         DB::table('log')->insert([
68 68
             'log_type'    => $log_type,
Please login to merge, or discard this patch.
app/Module/ChartsBlockModule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
                         'generations' => 3,
112 112
                         'layout'      => PedigreeChartModule::ORIENTATION_RIGHT,
113 113
                     ]);
114
-                    $content   = view('modules/charts/chart', [
114
+                    $content = view('modules/charts/chart', [
115 115
                         'block_id'  => $block_id,
116 116
                         'chart_url' => $chart_url,
117 117
                         'class'     => 'wt-chart-pedigree',
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
                         'generations' => 2,
128 128
                         'chart_style' => DescendancyChartModule::CHART_STYLE_TREE,
129 129
                     ]);
130
-                    $content   = view('modules/charts/chart', [
130
+                    $content = view('modules/charts/chart', [
131 131
                         'block_id'  => $block_id,
132 132
                         'chart_url' => $chart_url,
133 133
                         'class'     => 'wt-chart-descendants',
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
                         'ajax'        => true,
143 143
                         'generations' => 2,
144 144
                     ]);
145
-                    $content   = view('modules/charts/chart', [
145
+                    $content = view('modules/charts/chart', [
146 146
                         'block_id'  => $block_id,
147 147
                         'chart_url' => $chart_url,
148 148
                         'class'     => 'wt-chart-hourglass',
Please login to merge, or discard this patch.
app/Statistics.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2618,7 +2618,7 @@
 block discarded – undo
2618 2618
         /** @var ModuleBlockInterface|null $module */
2619 2619
         $module = $this->module_service
2620 2620
             ->findByComponent(ModuleBlockInterface::class, $this->tree, Auth::user())
2621
-            ->first(static function (ModuleInterface $module) use ($block): bool {
2621
+            ->first(static function (ModuleInterface $module) use ($block) : bool {
2622 2622
                 return $module->name() === $block && $module->name() !== 'html';
2623 2623
             });
2624 2624
 
Please login to merge, or discard this patch.