Skip to content

Commit 23800a9

Browse files
committed
Minor tweak
1 parent 96f4cd9 commit 23800a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/type_info.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Checking if a type **accepts a value**::
149149
$type->accepts('z'); // false
150150

151151
$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
152+
// now the second check is true because the union type accepts either an int or a string value
153153
$type->accepts(123); // true
154154
$type->accepts('z'); // true
155155

0 commit comments

Comments
 (0)