Skip to content

Commit c7f8834

Browse files
rodrigoprimojrfnl
authored andcommitted
Generic/RequireStrictTypes: further improvements to the docs
Remove one redundant invalid example and make one highlight more meaningful.
1 parent 70bea75 commit c7f8834

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ declare(encoding='UTF-8', <em>strict_types=0</em>);
1515
<code title="Invalid: Missing strict_types declaration.">
1616
<![CDATA[
1717
declare(encoding='ISO-8859-1'<em></em>);
18-
19-
declare(ticks=1<em></em>);
2018
]]>
2119
</code>
2220
</code_comparison>
@@ -28,7 +26,7 @@ declare(ticks=1<em></em>);
2826
<code_comparison>
2927
<code title="Valid: strict_types declaration is enabled.">
3028
<![CDATA[
31-
declare(<em>strict_types=1</em>);
29+
declare(strict_types=<em>1</em>);
3230
]]>
3331
</code>
3432
<code title="Invalid: strict_types declaration is disabled.">

0 commit comments

Comments
 (0)