Skip to content

Commit 6ba10cd

Browse files
committed
Made changes requested by reviewers
1 parent 38a6e7c commit 6ba10cd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

reference/constraints/Type.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ function) and ``accessCode`` contains either only letters or only digits (using
9292
</property>
9393
<property name="accessCode">
9494
<constraint name="Type">
95-
<option name="type"> ..... </option>
95+
<option name="type">
96+
<value>alpha</value>
97+
<value>digit</value>
98+
</option>
9699
</constraint>
97100
</property>
98101
</class>
@@ -165,7 +168,7 @@ type
165168

166169
This required option defines the type or collection of types allowed for the
167170
given value. Each type is defined as the fully qualified class name or one of
168-
the PHP datatypes as determined by PHP's ``is_()`` functions.
171+
the PHP datatypes as determined by PHP's ``is_*()`` functions.
169172

170173
* :phpfunction:`array <is_array>`
171174
* :phpfunction:`bool <is_bool>`
@@ -184,7 +187,7 @@ the PHP datatypes as determined by PHP's ``is_()`` functions.
184187
* :phpfunction:`scalar <is_scalar>`
185188
* :phpfunction:`string <is_string>`
186189

187-
Also, you can use ``ctype_()`` functions from corresponding
190+
Also, you can use ``ctype_*()`` functions from corresponding
188191
`built-in PHP extension`_. Consider `a list of ctype functions`_:
189192

190193
* :phpfunction:`alnum <ctype_alnum>`

0 commit comments

Comments
 (0)