Skip to content

Commit

Permalink
[Twig][Mime] Removed extra quotes in missing package exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemilano authored and nicolas-grekas committed Apr 10, 2020
1 parent 69d6adb commit bc9071d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mime/NotificationEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct(Headers $headers = null, AbstractPart $body = null)
}

if ($missingPackages) {
throw new \LogicException(sprintf('You cannot use "%s" if the "%s" Twig extension%s not available; try running "composer require "%s"".', static::class, implode('" and "', $missingPackages), \count($missingPackages) > 1 ? 's are' : ' is', implode(' ', array_keys($missingPackages))));
throw new \LogicException(sprintf('You cannot use "%s" if the "%s" Twig extension%s not available; try running "%s".', static::class, implode('" and "', $missingPackages), \count($missingPackages) > 1 ? 's are' : ' is', 'composer require '.implode(' ', array_keys($missingPackages))));
}

parent::__construct($headers, $body);
Expand Down

0 comments on commit bc9071d

Please sign in to comment.