Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Feb 3, 2020
1 parent 353e1e8 commit 0cf976a
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 @@ -50,7 +50,7 @@ public function __construct(Headers $headers = null, AbstractPart $body = null)
$missingPackages['twig/inky-extra'] = 'Inky';
}

if ([] !== $missingPackages) {
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))));
}

Expand Down

0 comments on commit 0cf976a

Please sign in to comment.