diff --git a/src/FlagServiceInterface.php b/src/FlagServiceInterface.php
index 3dbea3c..7a6ff62 100644
--- a/src/FlagServiceInterface.php
+++ b/src/FlagServiceInterface.php
@@ -134,8 +134,8 @@ interface FlagServiceInterface {
    *   $flag = \Drupal::service('flag')->getFlagById('bookmark');
    * @endcode
    *
-   * @param int $flag_id
-   *   The ID of the flag to load.
+   * @param string $flag_id
+   *   The identifier of the flag to load.
    *
    * @return \Drupal\flag\FlagInterface|null
    *   The flag entity.
