original_string: protected function checkDuplicate1xx($marc)
      {
          $result = $marc->getFields('1[0-9][0-9]', true);
          $count = count($result);
          if ($count > 1) {
              $this->warn(
                  "1XX: Only one 1XX tag is allowed, but I found $count of them."
              );
          }
      }
code: protected function checkDuplicate1xx($marc)
      {
          $result = $marc->getFields('1[0-9][0-9]', true);
          $count = count($result);
          if ($count > 1) {
              $this->warn(
                  "1XX: Only one 1XX tag is allowed, but I found $count of them."
              );
          }
      }
code_tokens: protected function checkDuplicate1xx ( $ marc ) { $ result = $ marc -> getFields ( '1[0-9][0-9]' , true ) ; $ count = count ( $ result ) ; if ( $ count > 1 ) { $ this -> warn ( "1XX: Only one 1XX tag is allowed, but I found $count of them." ) ; } }
docstring: Check for multiple 1xx fields.
  
  @param File_MARC_Record $marc Record to check
  
  @return void
docstring_tokens: Check for multiple 1xx fields .