Skip to content

Commit f6d8747

Browse files
committed
CS fixes
1 parent 88de103 commit f6d8747

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Templating/Helper/CodeHelper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function abbrClass($class)
5555
$parts = explode('\\', $class);
5656
$short = array_pop($parts);
5757

58-
return sprintf("<abbr title=\"%s\">%s</abbr>", $class, $short);
58+
return sprintf('<abbr title="%s">%s</abbr>', $class, $short);
5959
}
6060

6161
public function abbrMethod($method)
@@ -64,9 +64,9 @@ public function abbrMethod($method)
6464
list($class, $method) = explode('::', $method, 2);
6565
$result = sprintf('%s::%s()', $this->abbrClass($class), $method);
6666
} elseif ('Closure' === $method) {
67-
$result = sprintf("<abbr title=\"%s\">%s</abbr>", $method, $method);
67+
$result = sprintf('<abbr title="%s">%s</abbr>', $method, $method);
6868
} else {
69-
$result = sprintf("<abbr title=\"%s\">%s</abbr>()", $method, $method);
69+
$result = sprintf('<abbr title="%s">%s</abbr>()', $method, $method);
7070
}
7171

7272
return $result;
@@ -86,7 +86,7 @@ public function formatArgs(array $args)
8686
if ('object' === $item[0]) {
8787
$parts = explode('\\', $item[1]);
8888
$short = array_pop($parts);
89-
$formattedValue = sprintf("<em>object</em>(<abbr title=\"%s\">%s</abbr>)", $item[1], $short);
89+
$formattedValue = sprintf('<em>object</em>(<abbr title="%s">%s</abbr>)', $item[1], $short);
9090
} elseif ('array' === $item[0]) {
9191
$formattedValue = sprintf('<em>array</em>(%s)', is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);
9292
} elseif ('string' === $item[0]) {

0 commit comments

Comments
 (0)