Skip to content

Commit 162831a

Browse files
authored
Fix: use colon instead equal in operation doc (#1701)
1 parent dc9e3fa commit 162831a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

core/operations.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ use ApiPlatform\Metadata\ApiResource;
7676
use ApiPlatform\Metadata\Get;
7777
use ApiPlatform\Metadata\GetCollection;
7878

79-
#[ApiResource(operations=[
80-
new Get(),
81-
new GetCollection()
82-
])]
79+
#[ApiResource(
80+
operations: [
81+
new Get(),
82+
new GetCollection()
83+
]
84+
)]
8385
class Book
8486
{
8587
// ...

0 commit comments

Comments
 (0)