original_string: protected function normalizeTypeAndLength($type)
      {
          if (empty($type)) {
              // @codeCoverageIgnoreStart
              return [null, null];
              // @codeCoverageIgnoreEnd
          }
  
          if (preg_match('#^(?<type>.*)\((?<length>\d+)\)$#', $type, $matches)) {
              return [ $this->normalizeType($matches['type']), (int) $matches['length'] ];
          }
  
          return [ $this->normalizeType($type), $this->getDefaultLengthForType($type) ];
      }
code: protected function normalizeTypeAndLength($type)
      {
          if (empty($type)) {
              // @codeCoverageIgnoreStart
              return [null, null];
              // @codeCoverageIgnoreEnd
          }
  
          if (preg_match('#^(?<type>.*)\((?<length>\d+)\)$#', $type, $matches)) {
              return [ $this->normalizeType($matches['type']), (int) $matches['length'] ];
          }
  
          return [ $this->normalizeType($type), $this->getDefaultLengthForType($type) ];
      }
code_tokens: protected function normalizeTypeAndLength ( $ type ) { if ( empty ( $ type ) ) { // @codeCoverageIgnoreStart return [ null , null ] ; // @codeCoverageIgnoreEnd } if ( preg_match ( '#^(?<type>.*)\((?<length>\d+)\)$#' , $ type , $ matches ) ) { return [ $ this -> normalizeType ( $ matches [ 'type' ] ) , ( int ) $ matches [ 'length' ] ] ; } return [ $ this -> normalizeType ( $ type ) , $ this -> getDefaultLengthForType ( $ type ) ] ; }
docstring: Returns clean type string and length value.
  
  @param string $type  sqlite type
  @return array    [ type, length (int) ]
docstring_tokens: Returns clean type string and length value .