@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | /** |
| 304 | 304 | * Create default annotation reader for extensions |
| 305 | 305 | * |
| 306 | - * @return Common\Annotations\AnnotationReader |
|
| 306 | + * @return Common\Annotations\CachedReader |
|
| 307 | 307 | */ |
| 308 | 308 | private function getDefaultAnnotationReader() |
| 309 | 309 | { |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | /** |
| 322 | 322 | * Checks if $field type is valid |
| 323 | 323 | * |
| 324 | - * @param object $meta |
|
| 324 | + * @param ORM\Mapping\ClassMetadata $meta |
|
| 325 | 325 | * @param string $field |
| 326 | 326 | * |
| 327 | 327 | * @return boolean |
@@ -318,7 +318,7 @@ |
||
| 318 | 318 | $user = $this->getUser(); |
| 319 | 319 | |
| 320 | 320 | if ($classMetadata->hasAssociation($field)) { |
| 321 | - if ($user !== NULL && ! is_object($user)) { |
|
| 321 | + if ($user !== NULL && !is_object($user)) { |
|
| 322 | 322 | throw new Exceptions\InvalidArgumentException("Blame is reference, user must be an object"); |
| 323 | 323 | } |
| 324 | 324 | |