Skip to content

Commit

Permalink
fix: php 8.4 deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Nov 7, 2024
1 parent 3773e4b commit 3a029f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/src/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(
string $name,
Factory $views,
TransportInterface $transport,
Dispatcher $events = null,
?Dispatcher $events = null,
protected SettingsRepositoryInterface $settings

Check failure on line 25 in framework/core/src/Mail/Mailer.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.2

Deprecated in PHP 8.1: Required parameter $settings follows optional parameter $events.

Check failure on line 25 in framework/core/src/Mail/Mailer.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.3

Deprecated in PHP 8.1: Required parameter $settings follows optional parameter $events.

Check failure on line 25 in framework/core/src/Mail/Mailer.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 8.4

Deprecated in PHP 8.1: Required parameter $settings follows optional parameter $events.
) {
parent::__construct($name, $views, $transport, $events);
Expand Down

0 comments on commit 3a029f8

Please sign in to comment.