Skip to content

Commit d829020

Browse files
author
Sander De la Marche
committed
Omit unnecessary function parameters in the UrlHelper example
1 parent 2c6bb4e commit d829020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ provides two public methods called getAbsoluteUrl() and getRelativePath()::
737737
$this->urlHelper = $urlHelper;
738738
}
739739

740-
public function normalize($user, $format = null, array $context = [])
740+
public function normalize($user)
741741
{
742742
return [
743743
'avatar' => $this->urlHelper->getAbsoluteUrl($user->avatar()->path()),

0 commit comments

Comments
 (0)