@@ -62,7 +62,7 @@ |
||
| 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, |
@@ -111,7 +111,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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', |
@@ -2618,7 +2618,7 @@ |
||
| 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 | |