mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
fix recursion
This commit is contained in:
parent
9b1c0eff3d
commit
037efdcfb5
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ class Share extends AbstractShare {
|
|||
* @psalm-assert Connection $this->connection
|
||||
*/
|
||||
protected function connect(): Connection {
|
||||
if ($this->connection and $this->connect()->isValid()) {
|
||||
if ($this->connection and $this->connection->isValid()) {
|
||||
return $this->connection;
|
||||
}
|
||||
$this->connection = $this->getConnection();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue