[DOC-CVS] [doc-en] master: random: Fix right-open / left-open confusion for Random\IntervalBoundary (#4559)

[email protected] (Tim Düsterhus via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Tim Düsterhus (TimWolla)
Committer: GitHub (web-flow)
Pusher: tiffany-taylor
Date: 2025-04-15T23:19:21-05:00

Commit: https://github.com/php/doc-en/commit/594f83cb7aff5d87d52426e68691c1fa06963b1d
Raw diff: https://github.com/php/doc-en/commit/594f83cb7aff5d87d52426e68691c1fa06963b1d.diff

random: Fix right-open / left-open confusion for Random\IntervalBoundary (#4559)

see #3419

Changed paths:
  M  reference/random/random.intervalboundary.xml


Diff:

diff --git a/reference/random/random.intervalboundary.xml b/reference/random/random.intervalboundary.xml
index fbacbc3672b1..4f31d8a5b64d 100644
--- a/reference/random/random.intervalboundary.xml
+++ b/reference/random/random.intervalboundary.xml
@@ -22,7 +22,7 @@
     <enumitem>
      <enumidentifier>ClosedOpen</enumidentifier>
      <enumitemdescription>
-      A left-open interval.
+      A right-open interval.
       The lower boundary is included in the interval,
       the upper boundary is not.
      </enumitemdescription>
@@ -39,7 +39,7 @@
     <enumitem>
      <enumidentifier>OpenClosed</enumidentifier>
      <enumitemdescription>
-      A right-open interval.
+      A left-open interval.
       The upper boundary is included in the interval,
       the lower boundary is not.
      </enumitemdescription>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.