Skip to content

Commit 596eaf1

Browse files
committed
Fix faulty documentation
1 parent de9d2e9 commit 596eaf1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Universal/Docs/DeclareStatements/DeclareStatementsStyleStandard.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@
1414
declare(strict_types=1);
1515
]]>
1616
</code>
17-
<code title="Invalid: Declare statement written with curly braces.">
17+
<code title="Invalid: Declare statement written with curly braces or alternative syntax.">
1818
<![CDATA[
1919
declare(encoding='ISO-8859-1', ticks=1) {
2020
// Code.
2121
}
22-
]]>
23-
</code>
24-
<code title="Invalid: Declare statement written using alternative syntax.">
25-
<![CDATA[
22+
2623
declare(encoding='ISO-8859-1', ticks=10):
2724
declare(ticks=1):
2825
// Code.

0 commit comments

Comments
 (0)