original_string: public function isEmptyAllowed($allowEmpty = null)
      {
          if ($allowEmpty === null) {
              return $this->_allowEmpty;
          }
  
          deprecationWarning(
              'ValidationSet::isEmptyAllowed() is deprecated as a setter. ' .
              'Use ValidationSet::allowEmpty() instead.'
          );
  
          return $this->allowEmpty($allowEmpty);
      }
code: public function isEmptyAllowed($allowEmpty = null)
      {
          if ($allowEmpty === null) {
              return $this->_allowEmpty;
          }
  
          deprecationWarning(
              'ValidationSet::isEmptyAllowed() is deprecated as a setter. ' .
              'Use ValidationSet::allowEmpty() instead.'
          );
  
          return $this->allowEmpty($allowEmpty);
      }
code_tokens: public function isEmptyAllowed ( $ allowEmpty = null ) { if ( $ allowEmpty === null ) { return $ this -> _allowEmpty ; } deprecationWarning ( 'ValidationSet::isEmptyAllowed() is deprecated as a setter. ' . 'Use ValidationSet::allowEmpty() instead.' ) ; return $ this -> allowEmpty ( $ allowEmpty ) ; }
docstring: Sets whether a field value is allowed to be empty.
  
  If no argument is passed the currently set `allowEmpty` value will be returned.
  
  @param bool|string|callable|null $allowEmpty Deprecated since 3.6.0 ValidationSet::isEmptyAllowed() is deprecated as a setter.
  Use ValidationSet::allowEmpty() instead.
  @return bool|string|callable
docstring_tokens: Sets whether a field value is allowed to be empty .