original_string: private function summarizeBlock($block)
  	{
  		$block = array(
  			'rules' => is_array($block) ? $block : $this->splitIntoRules(trim($block)),
  			'count' => 0
  		);
  		foreach ($block['rules'] as $key => $rule) {
  			$block['rules'][$key] = array(
  				'rule'  => $rule,
  				'count' => $this->countSelectorsInRule($rule),
  			);
  			$block['count'] += $block['rules'][$key]['count'];
  		}
  
  		return $block;
  	}
code: private function summarizeBlock($block)
  	{
  		$block = array(
  			'rules' => is_array($block) ? $block : $this->splitIntoRules(trim($block)),
  			'count' => 0
  		);
  		foreach ($block['rules'] as $key => $rule) {
  			$block['rules'][$key] = array(
  				'rule'  => $rule,
  				'count' => $this->countSelectorsInRule($rule),
  			);
  			$block['count'] += $block['rules'][$key]['count'];
  		}
  
  		return $block;
  	}
code_tokens: private function summarizeBlock ( $ block ) { $ block = array ( 'rules' => is_array ( $ block ) ? $ block : $ this -> splitIntoRules ( trim ( $ block ) ) , 'count' => 0 ) ; foreach ( $ block [ 'rules' ] as $ key => $ rule ) { $ block [ 'rules' ] [ $ key ] = array ( 'rule' => $ rule , 'count' => $ this -> countSelectorsInRule ( $ rule ) , ) ; $ block [ 'count' ] += $ block [ 'rules' ] [ $ key ] [ 'count' ] ; } return $ block ; }
docstring: Summarizes the block of CSS
  
  This splits the block into it's css rules and then counts the selectors in the rule
  
  @param $block
  @return array Array(rules,count)
docstring_tokens: Summarizes the block of CSS