diff --git a/src/IdentifierGenerator.php b/src/IdentifierGenerator.php
index <HASH>..<HASH> 100644
--- a/src/IdentifierGenerator.php
+++ b/src/IdentifierGenerator.php
@@ -13,8 +13,6 @@ interface IdentifierGenerator
      *
      * The generated ID is supposed to be used on a resource that
      * is going to be created by a command handler
-     *
-     * @return mixed
      */
-    public function generate();
+    public function generate(): object;
 }
Force identifier generator to always return objects

As of PHP <I>, we can override the return type declaration of the method
as long as covariance is kept.

This also makes the library a bit more type-safe, which is always good.

More info: <URL>