src/mako/redis/Redis.php
protected function handleBulkResponse(string $response): ?string
	{
		if($response === '$-1')
		{
			return null;
		}

		$length = (int) substr($response, 1);

		return substr($this->connection->read($length + static::CRLF_LENGTH), 0, - static::CRLF_LENGTH);
	}
protected function handleBulkResponse(string $response): ?string
	{
		if($response === '$-1')
		{
			return null;
		}

		$length = (int) substr($response, 1);

		return substr($this->connection->read($length + static::CRLF_LENGTH), 0, - static::CRLF_LENGTH);
	}
protected function handleBulkResponse ( string $ response ) : ? string { if ( $ response === '$-1' ) { return null ; } $ length = ( int ) substr ( $ response , 1 ) ; return substr ( $ this -> connection -> read ( $ length + static :: CRLF_LENGTH ) , 0 , - static :: CRLF_LENGTH ) ; }
Handles a bulk response.

@param  string      $response Redis response
@return string|null
Handles a bulk response .