original_string: protected function size($args) {
  		$size = 0;
  		
  		foreach ($args['targets'] as $target) {
  			if (($volume = $this->volume($target)) == false
  			|| ($file = $volume->file($target)) == false
  			|| !$file['read']) {
  				return array('error' => $this->error(self::ERROR_OPEN, '#'.$target));
  			}
  			
  			$size += $volume->size($target);
  		}
  		return array('size' => $size);
  	}
code: protected function size($args) {
  		$size = 0;
  		
  		foreach ($args['targets'] as $target) {
  			if (($volume = $this->volume($target)) == false
  			|| ($file = $volume->file($target)) == false
  			|| !$file['read']) {
  				return array('error' => $this->error(self::ERROR_OPEN, '#'.$target));
  			}
  			
  			$size += $volume->size($target);
  		}
  		return array('size' => $size);
  	}
code_tokens: protected function size ( $ args ) { $ size = 0 ; foreach ( $ args [ 'targets' ] as $ target ) { if ( ( $ volume = $ this -> volume ( $ target ) ) == false || ( $ file = $ volume -> file ( $ target ) ) == false || ! $ file [ 'read' ] ) { return array ( 'error' => $ this -> error ( self :: ERROR_OPEN , '#' . $ target ) ) ; } $ size += $ volume -> size ( $ target ) ; } return array ( 'size' => $ size ) ; }
docstring: Count total files size
  
  @param  array  command arguments
  @return array
  @author Dmitry (dio) Levashov
docstring_tokens: Count total files size