diff --git a/src/AliasUniquifier.php b/src/AliasUniquifier.php
index dc8a9e3..ce5958b 100644
--- a/src/AliasUniquifier.php
+++ b/src/AliasUniquifier.php
@@ -119,17 +119,15 @@ class AliasUniquifier implements AliasUniquifierInterface {
       $source,
       $langcode,
     ];
-    $implementations = $this->moduleHandler->getImplementations('pathauto_is_alias_reserved');
-    foreach ($implementations as $module) {
-
-      $result = $this->moduleHandler->invoke($module, 'pathauto_is_alias_reserved', $args);
-
-      if (!empty($result)) {
+    $hook = 'pathauto_is_alias_reserved';
+    $this->moduleHandler->invokeAllWith($hook, function (callable $hook, string $module) {
+      $results[$module] = $hook();
+      if (!empty($results)) {
         // As soon as the first module says that an alias is in fact reserved,
         // then there is no point in checking the rest of the modules.
         return TRUE;
       }
-    }
+    });
 
     return FALSE;
   }
