Skip to content

Commit

Permalink
Merge "REST: Update annotations"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Sep 30, 2024
2 parents cecf840 + 7ab5fba commit 83adac5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repo/rest-api/src/Infrastructure/DataAccess/EntityUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function __construct(
* @throws AbuseFilterException
* @throws RateLimitReached
* @throws TempAccountCreationLimitReached
* @throws SpamBlacklistException
*/
public function create( EntityDocument $entity, EditMetadata $editMetadata ): EntityRevision {
return $this->createOrUpdate( $entity, $editMetadata, EDIT_NEW );
Expand All @@ -78,6 +79,7 @@ public function create( EntityDocument $entity, EditMetadata $editMetadata ): En
* @throws AbuseFilterException
* @throws RateLimitReached
* @throws TempAccountCreationLimitReached
* @throws SpamBlacklistException
*/
public function update( EntityDocument $entity, EditMetadata $editMetadata ): EntityRevision {
return $this->createOrUpdate( $entity, $editMetadata, EDIT_UPDATE );
Expand Down

0 comments on commit 83adac5

Please sign in to comment.