Despite the nullable type of $_conn, it's guaranteed to be not NULL at the end of connect()

parent 78de4498
...@@ -1456,6 +1456,8 @@ class Connection implements DriverConnection ...@@ -1456,6 +1456,8 @@ class Connection implements DriverConnection
{ {
$this->connect(); $this->connect();
assert($this->_conn !== null);
return $this->_conn; return $this->_conn;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment