@@ -447,6 +447,9 @@ |
||
| 447 | 447 | |
| 448 | 448 | |
| 449 | 449 | |
| 450 | + /** |
|
| 451 | + * @param boolean $isDefault |
|
| 452 | + */ |
|
| 450 | 453 | protected function processSecondLevelCache($name, array $config, $isDefault) |
| 451 | 454 | { |
| 452 | 455 | if (!$config['enabled']) { |
@@ -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 | |
@@ -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 | |
@@ -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 | |
@@ -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 | */ |