File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ public function isNone(): bool;
37
37
* @see https://doc.rust-lang.org/std/option/enum.Option.html#method.is_some_and
38
38
*
39
39
* @param Closure(T): bool $predicate
40
- * @phpstan-assert-if-true Some<T> $this
41
- * @phpstan-assert-if-false None $this
42
40
*/
43
41
public function isSomeAnd (Closure $ predicate ): bool ;
44
42
Original file line number Diff line number Diff line change @@ -37,16 +37,12 @@ public function isErr(): bool;
37
37
/**
38
38
* @see https://doc.rust-lang.org/std/result/enum.Result.html#method.is_ok_and
39
39
* @param Closure(T): bool $predicate
40
- * @phpstan-assert-if-true Ok<T> $this
41
- * @phpstan-assert-if-false Err<E> $this
42
40
*/
43
41
public function isOkAnd (Closure $ predicate ): bool ;
44
42
45
43
/**
46
44
* @see https://doc.rust-lang.org/std/result/enum.Result.html#method.is_err_and
47
45
* @param Closure(E): bool $predicate
48
- * @phpstan-assert-if-true Err<E> $this
49
- * @phpstan-assert-if-false Ok<T> $this
50
46
*/
51
47
public function isErrAnd (Closure $ predicate ): bool ;
52
48
You can’t perform that action at this time.
0 commit comments