[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Minor improvements
From:       Pierrick Charron <noreply () php ! net>
Date:       2023-03-21 13:42:52
Message-ID: 4m6sp7sXdY5a5bj2kE0akc4LSV9FwoYRVXR4HqjKM () main ! php ! net
[Download RAW message or body]

Author: Pierrick Charron (adoy)
Date: 2023-03-21T09:27:04-04:00

Commit: https://github.com/php/doc-en/commit/4985eb0aa7bb240fa3bf7c17f76e1609faef327e
Raw diff: https://github.com/php/doc-en/commit/4985eb0aa7bb240fa3bf7c17f76e1609faef327e.diff


Minor improvements

Changed paths:
  M  language/fibers.xml
  M  reference/datetime/dateperiod.xml


Diff:

diff --git a/language/fibers.xml b/language/fibers.xml
index f9b950fbe63..3da63d75d73 100644
--- a/language/fibers.xml
+++ b/language/fibers.xml
@@ -26,7 +26,7 @@
   </para>
   <para>
    Fibers can be suspended in any function call, including those called from within \
                the PHP VM, such as functions
-   provided to <function>array_map</function> or methods called by foreach on an
+   provided to <function>array_map</function> or methods called by &foreach; on an
    <classname>Iterator</classname> object.
   </para>
   <para>
diff --git a/reference/datetime/dateperiod.xml b/reference/datetime/dateperiod.xml
index f6e94baaa91..bb9e2bc89df 100644
--- a/reference/datetime/dateperiod.xml
+++ b/reference/datetime/dateperiod.xml
@@ -142,7 +142,7 @@
       </para>
       <para>
        If the number of recurrences has been explicitly passed through the
-       <literal>$recurrences</literal> parameter in the constructor of the
+       <varname>recurrences</varname> parameter in the constructor of the
        <classname>DatePeriod</classname> instance, then this property contains
        this value, <emphasis>plus</emphasis> one if the start date has not been \
disabled  through <constant>DatePeriod::EXCLUDE_START_DATE</constant>,

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic