Skip to content

Commit

Permalink
phpstan error
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Sep 18, 2023
1 parent 9350518 commit 86b6089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/src/Notification/NotificationMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function (Message $message) use ($blueprint, $user) {
* html: string
* }
*/
protected function getEmailViews(MailableInterface $blueprint): array
protected function getEmailViews(MailableInterface&BlueprintInterface $blueprint): array

Check failure on line 67 in framework/core/src/Notification/NotificationMailer.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.1

PHPDoc tag @param for parameter $blueprint with type Flarum\Notification\MailableInterface is not subtype of native type Flarum\Notification\Blueprint\BlueprintInterface&Flarum\Notification\MailableInterface.
{
$views = $blueprint->getEmailViews();

Expand Down

0 comments on commit 86b6089

Please sign in to comment.