Skip to content

Commit

Permalink
[String][AsciiSlugger] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnadoO authored and nicolas-grekas committed Oct 6, 2020
1 parent 55553d7 commit f6b50e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slugger/AsciiSlugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class AsciiSlugger implements SluggerInterface, LocaleAwareInterface
public function __construct(string $defaultLocale = null, $symbolsMap = null)
{
if (null !== $symbolsMap && !\is_array($symbolsMap) && !$symbolsMap instanceof \Closure) {
throw new \TypeError(sprintf('Argument 2 passed to "%s()" must be array, Closure or null, "%s" given.', __METHOD__, \gettype($symbolMap)));
throw new \TypeError(sprintf('Argument 2 passed to "%s()" must be array, Closure or null, "%s" given.', __METHOD__, \gettype($symbolsMap)));
}

$this->defaultLocale = $defaultLocale;
Expand Down

0 comments on commit f6b50e4

Please sign in to comment.