Skip to content

Commit

Permalink
Merge c9837b2 into e060cfe
Browse files Browse the repository at this point in the history
  • Loading branch information
Lctrs committed Mar 23, 2021
2 parents e060cfe + c9837b2 commit 50d34b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Option/None.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ class None extends Option
{
/**
* @var array
* @psalm-var list<mixed>
*/
private $pass;

/**
* None constructor
*
* @param array ...$pass
* @param mixed ...$pass
*/
public function __construct(...$pass) {
$this->pass = $pass;
Expand Down
3 changes: 2 additions & 1 deletion src/Option/Some.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Some extends Option

/**
* @var array
* @psalm-var list<mixed>
*/
private $pass;

Expand All @@ -42,7 +43,7 @@ class Some extends Option
*
* @param mixed $value
* @psalm-param T $value
* @param array ...$pass
* @param mixed ...$pass
*/
public function __construct($value, ...$pass)
{
Expand Down

0 comments on commit 50d34b4

Please sign in to comment.