Skip to content

Commit 07e6da6

Browse files
lex111alOneh
authored andcommitted
Fix syntax highlight in example (api-platform#906)
1 parent 6210dbd commit 07e6da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ just by specifying the method name as key, or by checking the explicitly configu
142142

143143
If you do not want to allow access to the resource item (i.e. you don't want a `GET` item operation), instead of omitting it altogether, you should instead declare a `GET` item operation which returns HTTP 404 (Not Found), so that the resource item can still be identified by an IRI. For example:
144144

145-
```
145+
```php
146146
<?php
147147
// api/src/Entity/Book.php
148148

0 commit comments

Comments
 (0)