@@ -20,7 +20,7 @@ interface ResultInterface
20
20
*
21
21
* @template TNewSuccess
22
22
*
23
- * @param pure- callable(TSuccess):TNewSuccess $map
23
+ * @param callable(TSuccess):TNewSuccess $map
24
24
* @return self<TNewSuccess, TError>
25
25
*/
26
26
public function map (callable $ map ): self ;
@@ -34,7 +34,7 @@ public function map(callable $map): self;
34
34
35
35
* @template TNewError
36
36
*
37
- * @param pure- callable(TError):TNewError $map
37
+ * @param callable(TError):TNewError $map
38
38
* @return self<TSuccess, TNewError>
39
39
*/
40
40
public function mapError (callable $ map ): self ;
@@ -47,7 +47,7 @@ public function mapError(callable $map): self;
47
47
* @template TNewSuccess
48
48
* @template TNewError
49
49
*
50
- * @param pure- callable(TSuccess):self<TNewSuccess, TNewError> $map
50
+ * @param callable(TSuccess):self<TNewSuccess, TNewError> $map
51
51
* @return self<TNewSuccess, TError|TNewError>
52
52
*/
53
53
public function chain (callable $ map ): self ;
@@ -68,7 +68,7 @@ public function get();
68
68
*
69
69
* @template TNewError
70
70
*
71
- * @param pure- callable(TError):TNewError $map
71
+ * @param callable(TError):TNewError $map
72
72
* @return TSuccess|TNewError
73
73
*/
74
74
public function getOr (callable $ map );
0 commit comments