Skip to content

Commit 40e527c

Browse files
committed
[phpstorm-stubs] replace incorrect attributes with PHPDoc
1 parent 9608c95 commit 40e527c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

standard/standard_0.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,26 +99,26 @@ class Directory
9999
{
100100
/**
101101
* @var string The directory that was opened.
102+
* @removed 8.1
102103
*/
103-
#[PhpStormStubsElementAvailable(to: '8.0')]
104104
public $path;
105105

106106
/**
107107
* @var string The directory that was opened.
108+
* @since 8.1
108109
*/
109-
#[PhpStormStubsElementAvailable(from: '8.1')]
110110
public readonly string $path;
111111

112112
/**
113113
* @var resource Can be used with other directory functions such as {@see readdir()}, {@see rewinddir()} and {@see closedir()}.
114+
* @removed 8.1
114115
*/
115-
#[PhpStormStubsElementAvailable(to: '8.0')]
116116
public $handle;
117117

118118
/**
119119
* @var resource Can be used with other directory functions such as {@see readdir()}, {@see rewinddir()} and {@see closedir()}.
120+
* @since 8.1
120121
*/
121-
#[PhpStormStubsElementAvailable(from: '8.1')]
122122
public readonly mixed $handle;
123123

124124
/**

0 commit comments

Comments
 (0)