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

		$data = [];

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

		for($i = 0; $i < $count; $i++)
		{
			$data[] = $this->getResponse();
		}

		return $data;
	}
protected function handleMultiBulkResponse(string $response): ?array
	{
		if($response === '*-1')
		{
			return null;
		}

		$data = [];

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

		for($i = 0; $i < $count; $i++)
		{
			$data[] = $this->getResponse();
		}

		return $data;
	}
protected function handleMultiBulkResponse ( string $ response ) : ? array { if ( $ response === '*-1' ) { return null ; } $ data = [ ] ; $ count = ( int ) substr ( $ response , 1 ) ; for ( $ i = 0 ; $ i < $ count ; $ i ++ ) { $ data [ ] = $ this -> getResponse ( ) ; } return $ data ; }
Handles a multi-bulk response.

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