Skip to content

Commit

Permalink
PHP Deprecated: MetaboxOrchestra\AdminNotices::add(): Implicitly mark…
Browse files Browse the repository at this point in the history
…ing parameter $target_screen as nullable is deprecated, the explicit nullable type must be used instead
  • Loading branch information
Soean committed Dec 2, 2024
1 parent 52c8a63 commit b47719f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdminNotices.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function add(
string $message,
string $title = '',
string $type = self::ERROR,
string $target_screen = null
?string $target_screen = null
): AdminNotices {

$user_id = get_current_user_id();
Expand Down

0 comments on commit b47719f

Please sign in to comment.