@@ -45,6 +45,9 @@ |
||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | + /** |
|
49 | + * @param integer $defaultRenameMode |
|
50 | + */ |
|
48 | 51 | public function __construct(EntityManager $em, $defaultRenameMode = Doctrine\ORM\Query\ResultSetMappingBuilder::COLUMN_RENAMING_INCREMENT) |
49 | 52 | { |
50 | 53 | parent::__construct($em, $defaultRenameMode); |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use Doctrine; |
14 | 14 | use Doctrine\ORM\EntityManager; |
15 | 15 | use Kdyby; |
16 | -use Nette; |
|
17 | 16 | |
18 | 17 | |
19 | 18 |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Doctrine\ORM\NativeQuery; |
18 | 18 | use Doctrine\ORM\Query; |
19 | 19 | use Kdyby; |
20 | -use Nette; |
|
21 | 20 | |
22 | 21 | |
23 | 22 |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use Doctrine\DBAL\Statement; |
14 | 14 | use Kdyby; |
15 | -use Nette; |
|
16 | 15 | |
17 | 16 | |
18 | 17 |
@@ -11,7 +11,6 @@ |
||
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 | 16 | use Nette; |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | /** |
280 | 280 | * This is just a paranoia, hopes no one actually serializes exceptions. |
281 | 281 | * |
282 | - * @return array |
|
282 | + * @return string[] |
|
283 | 283 | */ |
284 | 284 | public function __sleep() |
285 | 285 | { |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | |
321 | 321 | |
322 | 322 | /** |
323 | - * @return array |
|
323 | + * @return string[] |
|
324 | 324 | */ |
325 | 325 | public function __sleep() |
326 | 326 | { |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | |
362 | 362 | |
363 | 363 | /** |
364 | - * @return array |
|
364 | + * @return string[] |
|
365 | 365 | */ |
366 | 366 | public function __sleep() |
367 | 367 | { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use Doctrine\DBAL\Logging\SQLLogger; |
14 | 14 | use Kdyby; |
15 | 15 | use Nette; |
16 | -use Tracy\Debugger; |
|
17 | 16 | |
18 | 17 | |
19 | 18 |
@@ -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) { |
@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace Kdyby\Doctrine; |
12 | 12 | |
13 | 13 | use Kdyby; |
14 | -use Nette; |
|
15 | 14 | use Doctrine\DBAL\Types\Type; |
16 | 15 | |
17 | 16 |
@@ -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 | { |