Skip to content

Commit 0cf48a5

Browse files
committed
Rephrase warning to prevent weird rendering issue
1 parent 8a22321 commit 0cf48a5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

reference/datetime/dateperiod/construct.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@
2424
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
2525
</constructorsynopsis>
2626
<warning>
27+
<simpara>
28+
The following constructor variant has been deprecated:
29+
</simpara>
2730
<constructorsynopsis role="DatePeriod">
2831
<modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
2932
<methodparam><type>string</type><parameter>isostr</parameter></methodparam>
3033
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
3134
</constructorsynopsis>
3235
<simpara>
33-
This variant of the constructor has been deprecated, use
34-
<methodname>DatePeriod::createFromISO8601String</methodname> instead.
36+
Instead the <methodname>DatePeriod::createFromISO8601String</methodname>
37+
static factory method should be used.
3538
</simpara>
3639
</warning>
3740
<para>

0 commit comments

Comments
 (0)