@@ -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']) { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Kdyby; |
| 18 | 18 | use Kdyby\Doctrine\Tools\RobotLoader; |
| 19 | 19 | use Kdyby\DoctrineCache\ReversedStorageDecorator; |
| 20 | -use Nette; |
|
| 21 | 20 | use Nette\Caching\Storages\MemoryStorage; |
| 22 | 21 | |
| 23 | 22 | |
@@ -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 | |
@@ -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 | |
@@ -372,7 +372,7 @@ |
||
| 372 | 372 | /** |
| 373 | 373 | * @deprecated |
| 374 | 374 | * @internal |
| 375 | - * @param \Exception|\Throwable $e |
|
| 375 | + * @param \Exception $e |
|
| 376 | 376 | * @param string $query |
| 377 | 377 | * @param array $params |
| 378 | 378 | * @return \Kdyby\Doctrine\DBALException|\Exception|\Throwable |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Doctrine\DBAL\Types\Type; |
| 16 | 16 | use Doctrine\DBAL\Driver; |
| 17 | 17 | use Kdyby; |
| 18 | -use Nette; |
|
| 19 | 18 | use PDO; |
| 20 | 19 | use Tracy; |
| 21 | 20 | |
@@ -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) { |
@@ -630,7 +630,7 @@ discard block |
||
| 630 | 630 | |
| 631 | 631 | /** |
| 632 | 632 | * @param \Doctrine\Common\Annotations\AnnotationException $e |
| 633 | - * @return string|bool |
|
| 633 | + * @return false|string |
|
| 634 | 634 | */ |
| 635 | 635 | public static function highlightAnnotationLine(AnnotationException $e) |
| 636 | 636 | { |
@@ -673,7 +673,7 @@ discard block |
||
| 673 | 673 | |
| 674 | 674 | /** |
| 675 | 675 | * @param \Reflector|\Nette\Reflection\ClassType|\Nette\Reflection\Method|\Nette\Reflection\Property $refl |
| 676 | - * @param \Exception|\Throwable $e |
|
| 676 | + * @param AnnotationException $e |
|
| 677 | 677 | * @param int|NULL $startLine |
| 678 | 678 | * @return int|NULL |
| 679 | 679 | */ |
@@ -732,6 +732,7 @@ discard block |
||
| 732 | 732 | /** |
| 733 | 733 | * @param \Reflector|Nette\Reflection\ClassType|Nette\Reflection\Method $refl |
| 734 | 734 | * @param $annotation |
| 735 | + * @return string |
|
| 735 | 736 | */ |
| 736 | 737 | private static function findRenamed(\Reflector $refl, $annotation) |
| 737 | 738 | { |