Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 614b8d6

Browse files
ErnadoOnicolas-grekas
authored andcommitted
[String][AsciiSlugger] Fix typo
1 parent 5c3ba3a commit 614b8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/String/Slugger/AsciiSlugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class AsciiSlugger implements SluggerInterface, LocaleAwareInterface
7272
public function __construct(string $defaultLocale = null, $symbolsMap = null)
7373
{
7474
if (null !== $symbolsMap && !\is_array($symbolsMap) && !$symbolsMap instanceof \Closure) {
75-
throw new \TypeError(sprintf('Argument 2 passed to "%s()" must be array, Closure or null, "%s" given.', __METHOD__, \gettype($symbolMap)));
75+
throw new \TypeError(sprintf('Argument 2 passed to "%s()" must be array, Closure or null, "%s" given.', __METHOD__, \gettype($symbolsMap)));
7676
}
7777

7878
$this->defaultLocale = $defaultLocale;

0 commit comments

Comments
 (0)