Skip to content

Commit

Permalink
更新文档 (#766)
Browse files Browse the repository at this point in the history
* 更新文档

* 更新文档
  • Loading branch information
guandeng authored Dec 4, 2024
1 parent cd5c534 commit dc73f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use FriendsOfHyperf\Trigger\Annotation\Trigger;
use FriendsOfHyperf\Trigger\Trigger\AbstractTrigger;
use MySQLReplication\Event\DTO\EventDTO;

#[Trigger(table:"table", events:"*", connection:"default")]
#[Trigger(table:"table", events:["*"], connection:"default")]
class FooTrigger extends AbstractTrigger
{
public function onWrite(array $new)
Expand Down

0 comments on commit dc73f0a

Please sign in to comment.