Skip to content

Commit

Permalink
Optim : Reference is unnecessary because the argument is neither assi…
Browse files Browse the repository at this point in the history
…gned nor further passed by reference
  • Loading branch information
s-renier-taonix-fr authored and f3l1x committed Feb 13, 2023
1 parent fa6e8dc commit 1ca98fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2833,7 +2833,7 @@ function setProxy($proxyhost, $proxyport, $proxyusername = '', $proxypassword =
* @returns boolean Whether a skippable header was found.
* @access private
*/
function isSkippableCurlHeader(&$data)
function isSkippableCurlHeader($data)
{
$skipHeaders = array('HTTP/1.1 100',
'HTTP/1.0 301',
Expand Down Expand Up @@ -5797,7 +5797,7 @@ function serialize($debug = 0)
* @return boolean whether they parameters are unwrapped (and should be wrapped)
* @access private
*/
function parametersMatchWrapped($type, &$parameters)
function parametersMatchWrapped($type, $parameters)
{
$this->debug("in parametersMatchWrapped type=$type, parameters=");
$this->appendDebug($this->varDump($parameters));
Expand Down

0 comments on commit 1ca98fa

Please sign in to comment.