We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96f4cd9 commit 23800a9Copy full SHA for 23800a9
components/type_info.rst
@@ -149,7 +149,7 @@ Checking if a type **accepts a value**::
149
$type->accepts('z'); // false
150
151
$type = Type::union(Type::string(), Type::int());
152
- // now the second check is true because the union type accepts either a int and a string value
+ // now the second check is true because the union type accepts either an int or a string value
153
$type->accepts(123); // true
154
$type->accepts('z'); // true
155
0 commit comments