code: protected function handleStatement($line, $type)
      {
          if (!preg_match("/^{$type}$/", $line)) {
              throw new \UnexpectedValueException("Expected a {$type} statement, got {$line}");
          }
  
          $params = [];
          $param = $this->handleParam();
  
          while ($param !== null) {
              $params = $params + $param;
              $param = $this->handleParam();
          }
  
          return $params;
      }
docs: Handle SQL relations.
  
  @param string $line
  @param string $type
  
  @throws \UnexpectedValueException
  @return array|null