diff --git a/src/Revision/EntityRevisionLogInterface.php b/src/Revision/EntityRevisionLogInterface.php index 2fc183f81d0c684ecde151fa185bb08e74a03e19..f02ba92f8ef0d6fc0cd1ad9b64e7f98060ed4fbe 100644 --- a/src/Revision/EntityRevisionLogInterface.php +++ b/src/Revision/EntityRevisionLogInterface.php @@ -7,6 +7,8 @@ namespace Drupal\entity\Revision; +use Drupal\user\UserInterface; + /** * Defines an entity type with create time/author/log information for revisions. */ @@ -48,7 +50,7 @@ interface EntityRevisionLogInterface { * * @return $this */ - public function setRevisionUser($account); + public function setRevisionUser(UserInterface $account); /** * Gets the entity revision author ID.