@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | |
168 | 168 | if (($title_or_properties['attributes']??null) === null) |
169 | 169 | { |
170 | - $title_or_properties['attributes'] = []; |
|
170 | + $title_or_properties['attributes'] = []; |
|
171 | 171 | } |
172 | 172 | |
173 | 173 | $properties = $title_or_properties; |
@@ -180,12 +180,12 @@ discard block |
||
180 | 180 | // if three args are passed in, third must be attributes |
181 | 181 | |
182 | 182 | if (func_num_args() === 3 && is_array($order)) { |
183 | - $attributes = $order; |
|
184 | - $properties = compact('title', 'attributes'); |
|
183 | + $attributes = $order; |
|
184 | + $properties = compact('title', 'attributes'); |
|
185 | 185 | } |
186 | 186 | else |
187 | 187 | { |
188 | - $properties = compact('title', 'order', 'attributes'); |
|
188 | + $properties = compact('title', 'order', 'attributes'); |
|
189 | 189 | } |
190 | 190 | } |
191 | 191 |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | |
358 | 358 | if (($title_or_properties['attributes']??null) === null) |
359 | 359 | { |
360 | - $title_or_properties['attributes'] = []; |
|
360 | + $title_or_properties['attributes'] = []; |
|
361 | 361 | } |
362 | 362 | |
363 | 363 | $properties = $title_or_properties; |
@@ -370,12 +370,12 @@ discard block |
||
370 | 370 | // if three args are passed in, third must be attributes |
371 | 371 | |
372 | 372 | if (func_num_args() === 3 && is_array($order)) { |
373 | - $attributes = $order; |
|
374 | - $properties = compact('title', 'attributes'); |
|
373 | + $attributes = $order; |
|
374 | + $properties = compact('title', 'attributes'); |
|
375 | 375 | } |
376 | 376 | else |
377 | 377 | { |
378 | - $properties = compact('title', 'order', 'attributes'); |
|
378 | + $properties = compact('title', 'order', 'attributes'); |
|
379 | 379 | } |
380 | 380 | |
381 | 381 | $properties = compact('title', 'order', 'attributes'); |