Skip to content

Commit

Permalink
Merge pull request #4 from KacerCZ/patch-1
Browse files Browse the repository at this point in the history
Fix required parameters deprecation warning (PHP 8+)
  • Loading branch information
BafS authored Apr 6, 2021
2 parents 73d7c19 + 0223a94 commit 82aa9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PayPal/Core/PPHttpConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function setUserAgent($userAgentString)
*
* @return array
*/
public function getHttpConstantsFromConfigs($configs = array(), $prefix)
public function getHttpConstantsFromConfigs($configs = array(), $prefix = null)
{
$arr = array();
if ($prefix != null && is_array($configs)) {
Expand Down

0 comments on commit 82aa9c6

Please sign in to comment.