Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #313 from fedek6/develop
Browse files Browse the repository at this point in the history
Fix deprecated error in PHP > 8.0.0
  • Loading branch information
jasonbahl authored Sep 15, 2022
2 parents 3659ed5 + f2828e4 commit 5123c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/location-rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function check_for_conflicts( array $and_params, $param, $allowed_params
*
* @return bool
*/
public function check_params_for_conflicts( array $and_params = [], $param ) {
public function check_params_for_conflicts( array $and_params = [], string $param = '' ) {
switch ( $param ) {
case 'post_type':
$allowed_and_params = [
Expand Down

0 comments on commit 5123c64

Please sign in to comment.