diff --git a/core/modules/path/src/Tests/PathAliasTest.php b/core/modules/path/src/Tests/PathAliasTest.php
index fdd8c0c0c..40d2091 100644
--- a/core/modules/path/src/Tests/PathAliasTest.php
+++ b/core/modules/path/src/Tests/PathAliasTest.php
@@ -269,7 +269,7 @@ function testNodeAlias() {
   /**
    * Returns the path ID.
    *
-   * @param $alias
+   * @param string $alias
    *   A string containing an aliased path.
    *
    * @return int
