src/ShortifyPunit.php
protected static function _addChainedResponse($response)
    {
        $firstChainedMethodName = key($response);

        if (isset(self::$returnValues[$firstChainedMethodName])) {
            self::$returnValues[$firstChainedMethodName] = array_replace_recursive(
                self::$returnValues[$firstChainedMethodName],
                $response[$firstChainedMethodName]
            );
        } else {
            self::$returnValues[$firstChainedMethodName] = $response[$firstChainedMethodName];
        }
    }
protected static function _addChainedResponse($response)
    {
        $firstChainedMethodName = key($response);

        if (isset(self::$returnValues[$firstChainedMethodName])) {
            self::$returnValues[$firstChainedMethodName] = array_replace_recursive(
                self::$returnValues[$firstChainedMethodName],
                $response[$firstChainedMethodName]
            );
        } else {
            self::$returnValues[$firstChainedMethodName] = $response[$firstChainedMethodName];
        }
    }
protected static function _addChainedResponse ( $ response ) { $ firstChainedMethodName = key ( $ response ) ; if ( isset ( self :: $ returnValues [ $ firstChainedMethodName ] ) ) { self :: $ returnValues [ $ firstChainedMethodName ] = array_replace_recursive ( self :: $ returnValues [ $ firstChainedMethodName ] , $ response [ $ firstChainedMethodName ] ) ; } else { self :: $ returnValues [ $ firstChainedMethodName ] = $ response [ $ firstChainedMethodName ] ; } }
Adding chained response to ReturnValues array

@param $response
Adding chained response to ReturnValues array