We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 353e1e8 commit 0cf976aCopy full SHA for 0cf976a
Mime/NotificationEmail.php
@@ -50,7 +50,7 @@ public function __construct(Headers $headers = null, AbstractPart $body = null)
50
$missingPackages['twig/inky-extra'] = 'Inky';
51
}
52
53
- if ([] !== $missingPackages) {
+ if ($missingPackages) {
54
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))));
55
56
0 commit comments