original_string: public static function onValidCreate(&$input, $newErrors) {
  		if( $newErrors ) {
  			static::throwException('errorCreateChecking');
  		}
  		static::fillLogEvent($input, 'create');
  		static::fillLogEvent($input, 'edit');
  		// 		$input = static::getLogEvent('create') + static::getLogEvent('edit') + $input;
  		return true;
  	}
code: public static function onValidCreate(&$input, $newErrors) {
  		if( $newErrors ) {
  			static::throwException('errorCreateChecking');
  		}
  		static::fillLogEvent($input, 'create');
  		static::fillLogEvent($input, 'edit');
  		// 		$input = static::getLogEvent('create') + static::getLogEvent('edit') + $input;
  		return true;
  	}
code_tokens: public static function onValidCreate ( & $ input , $ newErrors ) { if ( $ newErrors ) { static :: throwException ( 'errorCreateChecking' ) ; } static :: fillLogEvent ( $ input , 'create' ) ; static :: fillLogEvent ( $ input , 'edit' ) ; // 		$input = static::getLogEvent('create') + static::getLogEvent('edit') + $input; return true ; }
docstring: Callback when validating create
  
  @param array $input
  @param int $newErrors
  @return boolean
docstring_tokens: Callback when validating create