Skip to content

Commit

Permalink
PHP 8.4 deprecation notice fix. The Meta_Boxes class should not be im…
Browse files Browse the repository at this point in the history
…plicitly nullable in Admin class
  • Loading branch information
pattonwebz committed Jul 12, 2024
1 parent 348842b commit 90c62cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/class-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Admin {
*
* @param Meta_Boxes|null $meta_boxes Meta boxes instance.
*/
public function __construct( Meta_Boxes $meta_boxes = null ) {
public function __construct( Meta_Boxes $meta_boxes ) {
$this->meta_boxes = $meta_boxes;
}

Expand Down

0 comments on commit 90c62cc

Please sign in to comment.