Update README.md

This commit is contained in:
David Badura 2015-06-17 10:58:54 +02:00
parent 614c76fb1d
commit b9c49cb96d
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ used by [doThings](https://github.com/DavidBadura/doThings) - a Taskwarrior web-
composer require 'davidbadura/taskwarrior'
```
Unfortunately, the annotation reader is not automatically registered on composer. So you should add following line:
Unfortunately, the annotation reader is not automatically registered on composer. So you should add following line if you have `[Semantical Error] The annotation "@JMS\Serializer\Annotation\Type" in property [...] does not exist, or could not be auto-loaded.` exception:
```php
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');