-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PHP8 Deprecated: Required parameter $A follows optional parameter #1392
Fix PHP8 Deprecated: Required parameter $A follows optional parameter #1392
Conversation
Why this commit was closed? It should be merged in OpenMage. |
@@ -131,11 +131,11 @@ public function removeButton($id) | |||
* Update specified button property | |||
* | |||
* @param string $id | |||
* @param string|null $key | |||
* @param string $key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it still accepts null as a param for this
$queryString = $queryString."</CardinalMPI>"; | ||
return "cmpi_msg=".urlencode($queryString); | ||
} | ||
function getRequestXml() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated style change
@@ -162,11 +162,11 @@ protected function _updateButton($id, $key=null, $data) | |||
* Public wrapper for protected _updateButton method | |||
* | |||
* @param string $id | |||
* @param string|null $key | |||
* @param string $key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it still accepts null as a param here
Description (*)
Should fix all "Required parameter $A follows optional parameter $B warnings.
Manual testing scenarios (*)
Contribution checklist (*)