Skip to content
Snippets Groups Projects
Commit c1128e64 authored by Bojan Zivanovic's avatar Bojan Zivanovic
Browse files

Merge pull request #28 from dawehner/fix-entity-revision-log-interface

The trait and interface didn't matched
parents ef00e241 9cb9ebf9
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
namespace Drupal\entity\Revision; namespace Drupal\entity\Revision;
use Drupal\user\UserInterface;
/** /**
* Defines an entity type with create time/author/log information for revisions. * Defines an entity type with create time/author/log information for revisions.
*/ */
...@@ -48,7 +50,7 @@ interface EntityRevisionLogInterface { ...@@ -48,7 +50,7 @@ interface EntityRevisionLogInterface {
* *
* @return $this * @return $this
*/ */
public function setRevisionUser($account); public function setRevisionUser(UserInterface $account);
/** /**
* Gets the entity revision author ID. * Gets the entity revision author ID.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment