Skip to content

Commit 7e019f7

Browse files
authored
IDs can be strings, RevisionableStorageInterface::loadRevision should accept string ids (#895)
ids can be strings
1 parent 7974935 commit 7e019f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Drupal/Core/Entity/RevisionableStorageInterface.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Drupal\Core\Entity;
55
interface RevisionableStorageInterface extends EntityStorageInterface {
66

77
/**
8-
* @param int|numeric-string $revision_id
8+
* @param int|numeric-string|string $revision_id
99
* @return \Drupal\Core\Entity\RevisionableInterface|null
1010
*/
1111
public function loadRevision($revision_id);

0 commit comments

Comments
 (0)