Completed
Push — master ( 2e84ab...406008 )
by Greg
06:04
created
app/Module/ChartsBlockModule.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
                             'generations' => 3,
118 118
                             'layout'      => PedigreeChartModule::STYLE_RIGHT,
119 119
                         ]);
120
-                        $content   = view('modules/charts/chart', [
120
+                        $content = view('modules/charts/chart', [
121 121
                             'block_id'  => $block_id,
122 122
                             'chart_url' => $chart_url,
123 123
                             'class'     => 'wt-chart-pedigree',
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
                             'generations' => 2,
139 139
                             'chart_style' => DescendancyChartModule::CHART_STYLE_TREE,
140 140
                         ]);
141
-                        $content   = view('modules/charts/chart', [
141
+                        $content = view('modules/charts/chart', [
142 142
                             'block_id'  => $block_id,
143 143
                             'chart_url' => $chart_url,
144 144
                             'class'     => 'wt-chart-descendants',
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
                     break;
152 152
 
153 153
                 case 'hourglass':
154
-                    $module    = $this->module_service->findByInterface(HourglassChartModule::class)->first();
154
+                    $module = $this->module_service->findByInterface(HourglassChartModule::class)->first();
155 155
 
156 156
                     if ($module instanceof HourglassChartModule) {
157 157
                         $title     = $module->chartTitle($individual);
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
                             'ajax'        => true,
160 160
                             'generations' => 2,
161 161
                         ]);
162
-                        $content   = view('modules/charts/chart', [
162
+                        $content = view('modules/charts/chart', [
163 163
                             'block_id'  => $block_id,
164 164
                             'chart_url' => $chart_url,
165 165
                             'class'     => 'wt-chart-hourglass',
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
         $default_xref     = $gedcomid ?: $PEDIGREE_ROOT_ID;
266 266
 
267 267
         $type = $this->getBlockSetting($block_id, 'type', 'pedigree');
268
-        $xref  = $this->getBlockSetting($block_id, 'pid', $default_xref);
268
+        $xref = $this->getBlockSetting($block_id, 'pid', $default_xref);
269 269
 
270 270
         $charts = [
271 271
             'pedigree'    => I18N::translate('Pedigree'),
Please login to merge, or discard this patch.