File tree 4 files changed +14
-8
lines changed
4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 10
10
11
11
### Fixed
12
12
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
+
13
25
## 0.3.0 (2020-07-07)
14
26
15
27
### Added
Original file line number Diff line number Diff line change 7
7
" arangodb" ,
8
8
" http" ,
9
9
" client" ,
10
- " vpack" ,
11
10
" json" ,
12
11
" php"
13
12
],
Original file line number Diff line number Diff line change @@ -359,6 +359,6 @@ private function open(RequestInterface $request): void
359
359
private function close (): void
360
360
{
361
361
fclose ($ this ->handle );
362
- unset( $ this ->handle );
362
+ $ this ->handle = null ; // @phpstan-ignore-line
363
363
}
364
364
}
Original file line number Diff line number Diff line change @@ -84,12 +84,7 @@ public function next(): void
84
84
*/
85
85
public function valid (): bool
86
86
{
87
- if ($ this ->position <= $ this ->length - 1 ) {
88
- // we have more results than the current position is
89
- return true ;
90
- }
91
-
92
- return ($ this ->position <= $ this ->length - 1 );
87
+ return $ this ->position <= $ this ->length - 1 ;
93
88
}
94
89
95
90
public function writesExecuted (): ?int
You can’t perform that action at this time.
0 commit comments