original_string: protected function updateConnection($connection)
      {
          if ($this->connection !== $connection) {
              $this->connection  = $connection;
              $this->schemaSetUp = false;
          }
  
          return $this;
      }
code: protected function updateConnection($connection)
      {
          if ($this->connection !== $connection) {
              $this->connection  = $connection;
              $this->schemaSetUp = false;
          }
  
          return $this;
      }
code_tokens: protected function updateConnection ( $ connection ) { if ( $ this -> connection !== $ connection ) { $ this -> connection = $ connection ; $ this -> schemaSetUp = false ; } return $ this ; }
docstring: Updates the connection name to use.
  
  @param null|string $connection
  @return $this
docstring_tokens: Updates the connection name to use .