@@ -224,7 +224,7 @@ The generated ``class_Atmosphere_methods`` must be used when registering the ``A
224
224
Additional meta information can be attached to functions, with the following PHPDoc tags:
225
225
226
226
- ``@deprecated ``: Triggers the usual deprecation notice when the function/method is called. As of
227
- PHP 8.4.0 the `#[Deprecated] ` attribute should be used instead.
227
+ PHP 8.4 the `#[Deprecated] ` attribute should be used instead.
228
228
229
229
- ``@alias ``: If a function/method is an alias of another function/method, then the aliased
230
230
function/method name has to be provided as value. E.g. the function ``sizeof() `` has the ``@alias
@@ -245,7 +245,7 @@ Additional meta information can be attached to functions, with the following PHP
245
245
246
246
- ``@genstubs-expose-comment-block ``: By adding this annotation at the beginning of a PHPDoc block,
247
247
the content of the PHPDoc block will be exposed for
248
- `ReflectionFunctionAbstract::getDocComment() `. This feature was added in PHP 8.4.0.
248
+ `ReflectionFunctionAbstract::getDocComment() `. This feature was added in PHP 8.4.
249
249
250
250
.. _tentative return type : https://wiki.php.net/rfc/internal_method_return_types
251
251
@@ -338,7 +338,7 @@ Like functions and methods, classes also support meta information passed via PHP
338
338
339
339
- ``@genstubs-expose-comment-block ``: By adding this tag at the beginning of a PHPDoc block, the
340
340
content of the PHPDoc block will be exposed for `ReflectionClass::getDocComment() `. This feature
341
- is only available as of PHP 8.4.0.
341
+ is only available as of PHP 8.4.
342
342
343
343
This is an example with all the flags:
344
344
@@ -453,12 +453,12 @@ with ``@cvalue M_PI`` to the C-level constant ``M_PI`` (define by PHP's internal
453
453
454
454
Constants can take the following extra meta information passed via PHPDoc tags:
455
455
456
- - ``@deprecated ``: Triggers a deprecation notice when the constant is used. As of PHP 8.5.0 the
456
+ - ``@deprecated ``: Triggers a deprecation notice when the constant is used. As of PHP 8.5 the
457
457
`#[Deprecated] ` attribute should be used instead.
458
458
459
459
- ``@genstubs-expose-comment-block ``: By adding this tag at the beginning of a PHPDoc block, the
460
460
content of the PHPDoc block will be exposed for `ReflectionClass::getDocComment() `. This feature
461
- is only available as of PHP 8.4.0.
461
+ is only available as of PHP 8.4.
462
462
463
463
************************************
464
464
Maintaining Backward Compatibility
0 commit comments