Skip to content

Commit 9b27fdb

Browse files
committed
Normalize version number strings
1 parent fb27ff9 commit 9b27fdb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/miscellaneous/stubs.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ The generated ``class_Atmosphere_methods`` must be used when registering the ``A
224224
Additional meta information can be attached to functions, with the following PHPDoc tags:
225225

226226
- ``@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.
228228

229229
- ``@alias``: If a function/method is an alias of another function/method, then the aliased
230230
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
245245

246246
- ``@genstubs-expose-comment-block``: By adding this annotation at the beginning of a PHPDoc block,
247247
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.
249249

250250
.. _tentative return type: https://wiki.php.net/rfc/internal_method_return_types
251251

@@ -338,7 +338,7 @@ Like functions and methods, classes also support meta information passed via PHP
338338

339339
- ``@genstubs-expose-comment-block``: By adding this tag at the beginning of a PHPDoc block, the
340340
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.
342342

343343
This is an example with all the flags:
344344

@@ -453,12 +453,12 @@ with ``@cvalue M_PI`` to the C-level constant ``M_PI`` (define by PHP's internal
453453

454454
Constants can take the following extra meta information passed via PHPDoc tags:
455455

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
457457
`#[Deprecated]` attribute should be used instead.
458458

459459
- ``@genstubs-expose-comment-block``: By adding this tag at the beginning of a PHPDoc block, the
460460
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.
462462

463463
************************************
464464
Maintaining Backward Compatibility

0 commit comments

Comments
 (0)