original_string: protected function flattenArguments()
  	{
  		$args = func_get_args();
  		$flat = [];
  
  		foreach ($args as $arg) {
  			if (is_array($arg)) {
  				$flat = call_user_func_array(array($this, 'flattenArguments'), array_merge($flat, $arg));
  				continue;
  			}
  			array_push($flat, $arg);
  		}
  
  		return $flat;
  	}
code: protected function flattenArguments()
  	{
  		$args = func_get_args();
  		$flat = [];
  
  		foreach ($args as $arg) {
  			if (is_array($arg)) {
  				$flat = call_user_func_array(array($this, 'flattenArguments'), array_merge($flat, $arg));
  				continue;
  			}
  			array_push($flat, $arg);
  		}
  
  		return $flat;
  	}
code_tokens: protected function flattenArguments ( ) { $ args = func_get_args ( ) ; $ flat = [ ] ; foreach ( $ args as $ arg ) { if ( is_array ( $ arg ) ) { $ flat = call_user_func_array ( array ( $ this , 'flattenArguments' ) , array_merge ( $ flat , $ arg ) ) ; continue ; } array_push ( $ flat , $ arg ) ; } return $ flat ; }
docstring: Flattens its arguments array into a simple array.
  
  @return array
docstring_tokens: Flattens its arguments array into a simple array .