Skip to content

Commit

Permalink
fix: Return A instead of Monoid<A>.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored and marcosh committed Oct 22, 2021
1 parent 85cab65 commit 05ea75d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Typeclass/Monoid.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
interface Monoid extends Semigroup
{
/**
* @return Monoid<A>
* @return A
*
* @psalm-pure
*/
public static function mempty(): Monoid;
public static function mempty();
}

0 comments on commit 05ea75d

Please sign in to comment.