@@ -11,10 +11,8 @@ |
||
11 | 11 | namespace Kdyby\Doctrine\Tools; |
12 | 12 | |
13 | 13 | use Doctrine; |
14 | -use Doctrine\Common\Cache\CacheProvider; |
|
15 | 14 | use Doctrine\Common\Cache\ClearableCache; |
16 | 15 | use Kdyby; |
17 | -use Nette; |
|
18 | 16 | |
19 | 17 | |
20 | 18 |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use Kdyby\Doctrine\Connection; |
22 | 22 | use Kdyby\Doctrine\EntityManager; |
23 | 23 | use Kdyby\Doctrine\Mapping\ClassMetadata; |
24 | -use Nette; |
|
25 | 24 | |
26 | 25 | |
27 | 26 |
@@ -633,7 +633,7 @@ discard block |
||
633 | 633 | |
634 | 634 | /** |
635 | 635 | * @param \Doctrine\Common\Annotations\AnnotationException $e |
636 | - * @return string|bool |
|
636 | + * @return false|string |
|
637 | 637 | */ |
638 | 638 | public static function highlightAnnotationLine(AnnotationException $e) |
639 | 639 | { |
@@ -676,7 +676,7 @@ discard block |
||
676 | 676 | |
677 | 677 | /** |
678 | 678 | * @param \Reflector|\Nette\Reflection\ClassType|\Nette\Reflection\Method|\Nette\Reflection\Property $refl |
679 | - * @param \Exception|\Throwable $e |
|
679 | + * @param AnnotationException $e |
|
680 | 680 | * @param int|NULL $startLine |
681 | 681 | * @return int|NULL |
682 | 682 | */ |