Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Dec 25, 2024
1 parent 53943c7 commit d90a1f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Labeler/AbstractLabeler.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ abstract public function subscribeLabels(?int $cursor): iterable;
/**
* @link https://docs.bsky.app/docs/api/tools-ozone-moderation-emit-event
*/
abstract public function emitEvent(Request $request, ?string $user, ?string $token): iterable;
abstract public function emitEvent(Request $request, ?string $user, ?string $token): iterable|EmitEventResponse|null;

abstract public function saveLabel(SignedLabel $label, string $sign): ?SavedLabel;

Expand Down
2 changes: 1 addition & 1 deletion workbench/app/Labeler/ArtisanLabeler.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function subscribeLabels(?int $cursor): iterable
yield null;
}

public function emitEvent(Request $request, ?string $user, ?string $token): iterable
public function emitEvent(Request $request, ?string $user, ?string $token): iterable|EmitEventResponse|null
{
return null;
}
Expand Down

0 comments on commit d90a1f2

Please sign in to comment.