Skip to content

Commit 4270d83

Browse files
janedbalJanTvrdik
andauthored
typo
Co-authored-by: Jan Tvrdík <[email protected]>
1 parent 291eb3b commit 4270d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Doctrine Query Tree Walker that perform additional checks on the query AST in ad
55
Currently it checks that the types of the parameters passed to the query are correct. For example the following will result in exception:
66

77
```php
8-
// throws: Parameter 'created_at' has no type specified in 3rd argument of setParameter(). Thus it is inferred as 'string', but it is compared with 'u.createdA' which can only be compared with 'datetime_immutable'.
8+
// throws: Parameter 'created_at' has no type specified in 3rd argument of setParameter(). Thus it is inferred as 'string', but it is compared with 'u.createdAt' which can only be compared with 'datetime_immutable'.
99
$this->entityManager->createQueryBuilder()
1010
->select('u')
1111
->from(User::class, 'u')

0 commit comments

Comments
 (0)