@@ -206,22 +206,24 @@ This required option defines the type or collection of types allowed for the
206
206
given value. Each type is either the FQCN (fully qualified class name) of some
207
207
PHP class/interface or a valid PHP datatype (checked by PHP's ``is_() `` functions):
208
208
209
- * :phpfunction: `array <is_array> `
210
209
* :phpfunction: `bool <is_bool> `
211
- * :phpfunction: `callable <is_callable> `
212
- * :phpfunction: `float <is_float> `
213
- * :phpfunction: `double <is_double> `
210
+ * :phpfunction: `boolean <is_bool> `
214
211
* :phpfunction: `int <is_int> `
215
- * :phpfunction: `integer <is_integer> `
216
- * :phpfunction: `iterable <is_iterable> `
217
- * :phpfunction: `long <is_long> `
218
- * :phpfunction: `null <is_null> `
212
+ * :phpfunction: `integer <is_int> `
213
+ * :phpfunction: `long <is_int> `
214
+ * :phpfunction: `float <is_float> `
215
+ * :phpfunction: `double <is_float> `
216
+ * :phpfunction: `real <is_float> `
219
217
* :phpfunction: `numeric <is_numeric> `
218
+ * :phpfunction: `string <is_string> `
219
+ * :phpfunction: `scalar <is_scalar> `
220
+ * :phpfunction: `array <is_array> `
221
+ * :phpfunction: `iterable <is_iterable> `
222
+ * :phpfunction: `countable <is_countable> `
223
+ * :phpfunction: `callable <is_callable> `
220
224
* :phpfunction: `object <is_object> `
221
- * :phpfunction: `real <is_real> `
222
225
* :phpfunction: `resource <is_resource> `
223
- * :phpfunction: `scalar <is_scalar> `
224
- * :phpfunction: `string <is_string> `
226
+ * :phpfunction: `null <is_null> `
225
227
226
228
Also, you can use ``ctype_*() `` functions from corresponding
227
229
`built-in PHP extension `_. Consider `a list of ctype functions `_:
0 commit comments