src/Intruder.php
public function _call(string $name, &...$arguments)
    {
        $method = $this->getReflection()->getMethod($name);
        $method->setAccessible(true);

        return $method->invokeArgs($this->getInstance(), $arguments);
    }
public function _call(string $name, &...$arguments)
    {
        $method = $this->getReflection()->getMethod($name);
        $method->setAccessible(true);

        return $method->invokeArgs($this->getInstance(), $arguments);
    }
public function _call ( string $ name , & ... $ arguments ) { $ method = $ this -> getReflection ( ) -> getMethod ( $ name ) ; $ method -> setAccessible ( true ) ; return $ method -> invokeArgs ( $ this -> getInstance ( ) , $ arguments ) ; }
Allow methods with references to be called.

@param string $name The name of the method to call
@param array<int, mixed> ...$arguments Any parameters the method accepts

@return mixed
Allow methods with references to be called .