Skip to content

Commit 84424c1

Browse files
dpimglaman
andauthored
IDs can be strings, RevisionableStorageInterface::deleteRevision should accept string ids (#904)
Similar to #895, as found in https://git.drupalcode.org/project/scheduled_transitions/-/merge_requests/73 Co-authored-by: Matt Glaman <[email protected]>
1 parent 645f62b commit 84424c1

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
@@ -11,7 +11,7 @@ interface RevisionableStorageInterface extends EntityStorageInterface {
1111
public function loadRevision($revision_id);
1212

1313
/**
14-
* @param int|numeric-string $revision_id
14+
* @param int|numeric-string|string $revision_id
1515
*/
1616
public function deleteRevision($revision_id): void;
1717

0 commit comments

Comments
 (0)