Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
brendt committed May 25, 2018
1 parent 5a86dbd commit 1deeb81
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ $postList = 1; // TypeError
### Tuples:

```php
$point = new Tuple(T::float(), T::float(), T::nullable(T::generic(Post::class)), T::int()->nullable());
$point = new Tuple(T::float(), T::float());

$point[0] = 1.5;
$point[1] = 3;
$point[2] = null;
$point[3] = null;

$point[0] = 'a'; // TypeError
$point['a'] = 1; // TypeError
Expand Down

0 comments on commit 1deeb81

Please sign in to comment.