@@ -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) { |
@@ -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 |
@@ -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 |
@@ -631,7 +631,7 @@ |
||
631 | 631 | |
632 | 632 | /** |
633 | 633 | * @param \Doctrine\Common\Annotations\AnnotationException $e |
634 | - * @return string|bool |
|
634 | + * @return false|string |
|
635 | 635 | */ |
636 | 636 | public static function highlightAnnotationLine(AnnotationException $e) |
637 | 637 | { |
@@ -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 | { |