Skip to content

Commit

Permalink
declare.xml: add the missing dot char and amend case of sentences (ph…
Browse files Browse the repository at this point in the history
…p#3678)

* declare.xml: add the missing dot char and amend case of sentences

* declare.xml: remove the extra dot character

* declare.xml: use a `simplelist` tag
  • Loading branch information
mmalferov authored Sep 11, 2024
1 parent e885f8c commit 5499acf
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions language/control-structures/declare.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,12 @@ declare (directive)
The <literal>directive</literal> section allows the
behavior of the <literal>declare</literal> block to
be set.
Currently only three directives are recognized: the
<literal>ticks</literal> directive (See below for more
information on the
<link linkend="control-structures.declare.ticks">ticks</link>
directive), the <literal>encoding</literal> directive (See below for more
information on the
<link linkend="control-structures.declare.encoding">encoding</link>
directive) and the <literal>strict_types</literal> directive (See for more
information the
<link linkend="language.types.declarations.strict">strict typing</link>
section on the type declarations page)
Currently only three directives are recognized:
<simplelist>
<member><link linkend="control-structures.declare.ticks"><literal>ticks</literal></link></member>
<member><link linkend="control-structures.declare.encoding"><literal>encoding</literal></link></member>
<member><link linkend="language.types.declarations.strict"><literal>strict_types</literal></link></member>
</simplelist>
</para>

<para>
Expand Down Expand Up @@ -146,7 +141,7 @@ if ($a > 0) {
<para>
A script's encoding can be specified per-script using the <literal>encoding</literal> directive.
<example>
<title>Declaring an encoding for the script.</title>
<title>Declaring an encoding for the script</title>
<programlisting role="php">
<![CDATA[
<?php
Expand Down

0 comments on commit 5499acf

Please sign in to comment.