Skip to content

Commit e4c588d

Browse files
committed
ext/standard: Transform tentative return types into proper types for Directory class
This class is now final
1 parent a6d81e9 commit e4c588d

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

ext/standard/dir.stub.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,16 @@ final class Directory
9999
public readonly mixed $handle;
100100

101101
/**
102-
* @tentative-return-type
103102
* @implementation-alias closedir
104103
*/
105104
public function close(): void {}
106105

107106
/**
108-
* @tentative-return-type
109107
* @implementation-alias rewinddir
110108
*/
111109
public function rewind(): void {}
112110

113111
/**
114-
* @tentative-return-type
115112
* @implementation-alias readdir
116113
*/
117114
public function read(): string|false {}

ext/standard/dir_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)