Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 2a50e67

Browse files
committed
Fix CS issue
- Use short arrays
1 parent 7f213e0 commit 2a50e67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Helper/HeadLink.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ public function createDataStylesheet(array $args)
409409
$extras = array_shift($args);
410410
$extras = (array) $extras;
411411
} else {
412-
$extras = array();
412+
$extras = [];
413413
}
414414

415415
$attributes = compact('rel', 'type', 'href', 'media', 'conditionalStylesheet', 'extras');
@@ -463,7 +463,7 @@ public function createDataAlternate(array $args)
463463
$extras['media'] = implode(',', $extras['media']);
464464
}
465465
} else {
466-
$extras = array();
466+
$extras = [];
467467
}
468468

469469
$href = (string) $href;

0 commit comments

Comments
 (0)