We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
success
fail
1 parent f850525 commit 27332e3Copy full SHA for 27332e3
src/Result.php
@@ -76,7 +76,7 @@ protected function __construct() {
76
*
77
* @param OkType $value
78
79
- * @return Result<OkType, void>
+ * @return static<OkType, void>
80
*/
81
public static function success($value = null) {
82
$result = new static();
@@ -92,7 +92,7 @@ public static function success($value = null) {
92
93
* @param ErrorType $value
94
95
- * @return Result<void, ErrorType>
+ * @return static<void, ErrorType>
96
97
public static function fail($value = null) {
98
0 commit comments