Skip to content

Commit 476d2ff

Browse files
authored
Merge pull request #41 from wiz-develop/endou-mame/issue40
2 parents e168ab6 + a820363 commit 476d2ff

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

phpstan.neon.dist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ parameters:
55
paths:
66
- src
77
- tests
8-
typeAliases:
9-
BasicTypes: 'int|string|bool|null|float|array|iterable|callable|resource|object'

src/Result.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ public function and(self $right): self;
114114
* @see https://doc.rust-lang.org/std/result/enum.Result.html#method.and_then
115115
* @template U
116116
* @template F
117-
* @param Closure(T): Result<U, F> $right
118-
* @return (F is BasicTypes ? Result<U, E|F> : Result<U, E>)
117+
* @param Closure(T): Result<U, F> $right
118+
* @return (F is int|string|bool|null|float|array|iterable|callable|resource|object ? Result<U, E|F> : Result<U, E>)
119119
*/
120120
public function andThen(Closure $right): self; /** @phpstan-ignore method.childParameterType */
121121

0 commit comments

Comments
 (0)