original_string: private function checkConnect(): void
      {
          if (empty($this->connect['type']) ||
              empty($this->connect['host']) ||
              empty($this->connect['name']) ||
              empty($this->connect['user'])
          ) {
              throw new ConfigurationException(
                  'Database adapter is not configured.
                  Please check `db` configuration section: required type, host, db name and user'
              );
          }
      }
code: private function checkConnect(): void
      {
          if (empty($this->connect['type']) ||
              empty($this->connect['host']) ||
              empty($this->connect['name']) ||
              empty($this->connect['user'])
          ) {
              throw new ConfigurationException(
                  'Database adapter is not configured.
                  Please check `db` configuration section: required type, host, db name and user'
              );
          }
      }
code_tokens: private function checkConnect ( ) : void { if ( empty ( $ this -> connect [ 'type' ] ) || empty ( $ this -> connect [ 'host' ] ) || empty ( $ this -> connect [ 'name' ] ) || empty ( $ this -> connect [ 'user' ] ) ) { throw new ConfigurationException ( 'Database adapter is not configured.
                  Please check `db` configuration section: required type, host, db name and user' ) ; } }
docstring: Check connection options
  
  @return void
  @throws ConfigurationException
docstring_tokens: Check connection options