@@ -41,6 +41,9 @@ |
||
41 | 41 | */ |
42 | 42 | private $unitOfWorkSnapshot; |
43 | 43 | |
44 | + /** |
|
45 | + * @param \Exception $exception |
|
46 | + */ |
|
44 | 47 | public function markExceptionOwner(Doctrine\ORM\EntityManager $em, $exception) |
45 | 48 | { |
46 | 49 | if ($this->em !== $em) { |
@@ -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 | */ |
@@ -375,7 +375,7 @@ |
||
375 | 375 | /** |
376 | 376 | * @deprecated |
377 | 377 | * @internal |
378 | - * @param \Exception|\Throwable $e |
|
378 | + * @param \Exception $e |
|
379 | 379 | * @param string $query |
380 | 380 | * @param array $params |
381 | 381 | * @return \Kdyby\Doctrine\Exception\DBALException|\Exception|\Throwable |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Kdyby\Doctrine\Exception\DBALException; |
19 | 19 | use Kdyby\Doctrine\Exception\DuplicateEntryException; |
20 | 20 | use Kdyby\Doctrine\Exception\EmptyValueException; |
21 | -use Nette; |
|
22 | 21 | use PDO; |
23 | 22 | use Tracy; |
24 | 23 |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | |
20 | 20 | |
21 | 21 | /** |
22 | - * @param \Exception|\Throwable $previous |
|
22 | + * @param \Exception $previous |
|
23 | 23 | * @param array $columns |
24 | 24 | * @param string $query |
25 | 25 | * @param array $params |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | |
35 | 35 | /** |
36 | - * @return array |
|
36 | + * @return string[] |
|
37 | 37 | */ |
38 | 38 | public function __sleep() |
39 | 39 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | |
34 | 34 | /** |
35 | - * @return array |
|
35 | + * @return string[] |
|
36 | 36 | */ |
37 | 37 | public function __sleep() |
38 | 38 | { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use Doctrine; |
14 | 14 | use Kdyby; |
15 | 15 | use Kdyby\Doctrine\Exception\InvalidArgumentException; |
16 | -use Nette; |
|
17 | 16 | |
18 | 17 | |
19 | 18 |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Doctrine\ORM\Query; |
19 | 19 | use Kdyby; |
20 | 20 | use Kdyby\Doctrine\Exception\NotImplementedException; |
21 | -use Nette; |
|
22 | 21 | |
23 | 22 | |
24 | 23 |