src/Rest/Action/ActionFilterChain.php
public function proceed()
	{
		if(isset($this->filters[$this->index]))
		{
			return $this->filters[$this->index++]->invokeAction($this);
		}
		
		$func = $this->callback;
		$a = $this->arguments;
		
		switch(count($a))
		{
			case 0:
				return $func();
			case 1:
				return $func($a[0]);
			case 2:
				return $func($a[0], $a[1]);
			case 3:
				return $func($a[0], $a[1], $a[2]);
			case 4:
				return $func($a[0], $a[1], $a[2], $a[3]);
			case 5:
				return $func($a[0], $a[1], $a[2], $a[3], $a[4]);
		}
		
		return call_user_func_array($func, $a);
	}
public function proceed()
	{
		if(isset($this->filters[$this->index]))
		{
			return $this->filters[$this->index++]->invokeAction($this);
		}
		
		$func = $this->callback;
		$a = $this->arguments;
		
		switch(count($a))
		{
			case 0:
				return $func();
			case 1:
				return $func($a[0]);
			case 2:
				return $func($a[0], $a[1]);
			case 3:
				return $func($a[0], $a[1], $a[2]);
			case 4:
				return $func($a[0], $a[1], $a[2], $a[3]);
			case 5:
				return $func($a[0], $a[1], $a[2], $a[3], $a[4]);
		}
		
		return call_user_func_array($func, $a);
	}
Proceed with the next action filter (or the action itself if there are no more filters
in the chain) returning the action result.

@return mixed