From 05ea75d7410d90959851d11bf342e393793e0291 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 21 Oct 2021 09:13:08 +0200 Subject: [PATCH] fix: Return `A` instead of `Monoid`. --- src/Typeclass/Monoid.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Typeclass/Monoid.php b/src/Typeclass/Monoid.php index bc73332..b5cdc22 100644 --- a/src/Typeclass/Monoid.php +++ b/src/Typeclass/Monoid.php @@ -12,9 +12,9 @@ interface Monoid extends Semigroup { /** - * @return Monoid + * @return A * * @psalm-pure */ - public static function mempty(): Monoid; + public static function mempty(); }