Skip to content

Commit ec57fa1

Browse files
authored
Merge pull request #775 from norkunas/fix-colors
Add missing language hints for code
2 parents 69914b0 + 576ac23 commit ec57fa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/dto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Now, we will update our resource by using a different input representation.
168168

169169
With the following `BookInput`:
170170

171-
```
171+
```php
172172
<?php
173173
// src/Dto/BookInput.php
174174

@@ -184,7 +184,7 @@ final class BookInput {
184184

185185
We will implement a `BookInputDataTransformer` that transforms the `BookInput` to our `Book` resource instance. In this case, the `Book` (`/books/1`) already exists, so we will just update it.
186186

187-
```
187+
```php
188188
<?php
189189
// src/DataTransformer/BookInputDataTransformer.php
190190

0 commit comments

Comments
 (0)