Skip to content

Commit 5a1cc7b

Browse files
Correct 'hook' to '@hook' in a couple of PolicyCommands examples.
1 parent 0ab6783 commit 5a1cc7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Commands/PolicyCommands.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class PolicyCommands extends DrushCommands
1616
* Prevent catastrophic braino. Note that this file has to be local to the
1717
* machine that initiates the sql:sync command.
1818
*
19-
* hook validate sql:sync
19+
* @hook validate sql:sync
2020
* @throws \Exception
2121
*/
2222
public function sqlSyncValidate(CommandData $commandData)
@@ -29,7 +29,7 @@ public function sqlSyncValidate(CommandData $commandData)
2929
/**
3030
* Limit rsync operations to production site.
3131
*
32-
* hook validate core:rsync
32+
* @hook validate core:rsync
3333
*/
3434
public function rsyncValidate(CommandData $commandData)
3535
{

0 commit comments

Comments
 (0)