azure-storage-common/src/Common/Internal/Http/HttpCallContext.php
public function addOptionalQueryParameter($name, $value)
    {
        Validate::canCastAsString($name, 'name');
        Validate::canCastAsString($value, 'value');

        if (!empty($value)) {
            $this->_queryParams[$name] = $value;
        }
    }
public function addOptionalQueryParameter($name, $value)
    {
        Validate::canCastAsString($name, 'name');
        Validate::canCastAsString($value, 'value');

        if (!empty($value)) {
            $this->_queryParams[$name] = $value;
        }
    }
Adds or sets query parameter pair.

Ignores query parameter if it's value satisfies empty().

@param string $name  The URI query parameter name.
@param string $value The URI query parameter value.

@return void