Skip to content

Commit e4c859a

Browse files
Merge branch '2.8' into 3.3
* 2.8: [HttpFoundation] Fix FileBag issue with associative arrays fix the phpdoc that is not really inherited from response Minor docblock cleanup Remove redundant sprintf arguments.
2 parents 97460de + 328d214 commit e4c859a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Templating/Helper/CodeHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ public function abbrMethod($method)
6161
list($class, $method) = explode('::', $method, 2);
6262
$result = sprintf('%s::%s()', $this->abbrClass($class), $method);
6363
} elseif ('Closure' === $method) {
64-
$result = sprintf('<abbr title="%s">%s</abbr>', $method, $method);
64+
$result = sprintf('<abbr title="%s">%1$s</abbr>', $method);
6565
} else {
66-
$result = sprintf('<abbr title="%s">%s</abbr>()', $method, $method);
66+
$result = sprintf('<abbr title="%s">%1$s</abbr>()', $method);
6767
}
6868

6969
return $result;

0 commit comments

Comments
 (0)