original_string: private function _checkOnArguments(array $firstColumn, array $secondColumn)
  	{
  		if(!array_key_exists('column', $firstColumn) || !array_key_exists('table', $firstColumn) ||
  		   !array_key_exists('column', $secondColumn) || !array_key_exists('table', $secondColumn)
  		)
  		{
  			throw new \InvalidArgumentException('Both arguments of on method require "column" and "table" as key');
  		}
  	}
code: private function _checkOnArguments(array $firstColumn, array $secondColumn)
  	{
  		if(!array_key_exists('column', $firstColumn) || !array_key_exists('table', $firstColumn) ||
  		   !array_key_exists('column', $secondColumn) || !array_key_exists('table', $secondColumn)
  		)
  		{
  			throw new \InvalidArgumentException('Both arguments of on method require "column" and "table" as key');
  		}
  	}
code_tokens: private function _checkOnArguments ( array $ firstColumn , array $ secondColumn ) { if ( ! array_key_exists ( 'column' , $ firstColumn ) || ! array_key_exists ( 'table' , $ firstColumn ) || ! array_key_exists ( 'column' , $ secondColumn ) || ! array_key_exists ( 'table' , $ secondColumn ) ) { throw new \ InvalidArgumentException ( 'Both arguments of on method require "column" and "table" as key' ) ; } }
docstring: Check the passed arguments of the on method. If they don't have keys equivalent to column and table,
  an invalid argument exception will thrown.
  
  @param array $firstColumn  First argument of on method.
  @param array $secondColumn Second argument of on method.
docstring_tokens: Check the passed arguments of the on method . If they don t have keys equivalent to column and table an invalid argument exception will thrown .