Skip to content

Commit 0a257ab

Browse files
committed
Fix undefined property $handle
1 parent 482a813 commit 0a257ab

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@
1010

1111
### Fixed
1212

13+
## 0.3.1 (2020-07-14)
14+
15+
### Added
16+
17+
### Deprecated
18+
19+
### Removed
20+
21+
### Fixed
22+
23+
* Undefined property `$handle` in `\ArangoDb\Http\Client`
24+
1325
## 0.3.0 (2020-07-07)
1426

1527
### Added

src/Http/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,6 @@ private function open(RequestInterface $request): void
359359
private function close(): void
360360
{
361361
fclose($this->handle);
362-
unset($this->handle);
362+
$this->handle = null; // @phpstan-ignore-line
363363
}
364364
}

0 commit comments

Comments
 (0)