Skip to content

Commit 0a8bf73

Browse files
committed
Cs fix
1 parent 2e9a3b6 commit 0a8bf73

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/View/StringTemplate.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,13 @@ public function format(string $name, array $data): string
8080

8181
if (($callable || $defaults) && preg_match('/<(\w+)([^>]*)>/', $formatted, $matches)) {
8282
$attributesString = $matches[2];
83-
preg_match_all('/(\w+(?:-\w+)*(?::\w+(?:-\w+)*)?)=(["\'])([^"\']*)\2/', $attributesString, $attrMatches, PREG_SET_ORDER);
83+
preg_match_all(
84+
'/(\w+(?:-\w+)*(?::\w+(?:-\w+)*)?)=(["\'])([^"\']*)\2/',
85+
$attributesString,
86+
$attrMatches,
87+
PREG_SET_ORDER,
88+
);
89+
8490
$attributes = [];
8591

8692
foreach ($attrMatches as $match) {

0 commit comments

Comments
 (0)