Skip to content

Commit

Permalink
Improved README
Browse files Browse the repository at this point in the history
  • Loading branch information
vudaltsov committed Feb 24, 2024
1 parent 2dafbfd commit 2bd9f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ composer require typhoon/type
use Typhoon\Type\types;

/**
* array{
* Equivalent to type array{
* a: non-empty-list,
* b?: int|float,
* c: Traversable<numeric-string, false>,
Expand All @@ -34,7 +34,7 @@ $type = types::arrayShape([
'c' => types::object(Traversable::class, types::numericString, types::false),
'd' => types::callable(
parameters: [
types::classConstant(PDO::class, '*'),
types::classConstant(types::object(PDO::class), '*'),
types::param(types::template('TSend', types::atClass(Generator::class)), hasDefault: true),
types::param(types::scalar, variadic: true),
],
Expand Down

0 comments on commit 2bd9f96

Please sign in to comment.