@@ -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']) { | 
                                                        
@@ -89,6 +89,9 @@ discard block  | 
                                                    ||
| 89 | 89 | |
| 90 | 90 | |
| 91 | 91 | |
| 92 | + /**  | 
                                                        |
| 93 | + * @param \Exception $exception  | 
                                                        |
| 94 | + */  | 
                                                        |
| 92 | 95 | public function markExceptionOwner(Doctrine\ORM\EntityManager $em, $exception)  | 
                                                        
| 93 | 96 |  	{ | 
                                                        
| 94 | 97 |  		if ($this->em !== $em) { | 
                                                        
@@ -387,7 +390,6 @@ discard block  | 
                                                    ||
| 387 | 390 | |
| 388 | 391 | /**  | 
                                                        
| 389 | 392 | * @param \Exception|\Throwable $e  | 
                                                        
| 390 | - * @param \Nette\DI\Container $dic  | 
                                                        |
| 391 | 393 | * @return array  | 
                                                        
| 392 | 394 | */  | 
                                                        
| 393 | 395 | public function renderEntityManagerException($e)  | 
                                                        
@@ -544,7 +546,7 @@ discard block  | 
                                                    ||
| 544 | 546 | * @param array $types  | 
                                                        
| 545 | 547 | * @param string $source  | 
                                                        
| 546 | 548 | *  | 
                                                        
| 547 | - * @return array  | 
                                                        |
| 549 | + * @return string  | 
                                                        |
| 548 | 550 | */  | 
                                                        
| 549 | 551 | protected function dumpQuery($query, $params, array $types = array(), $source = NULL)  | 
                                                        
| 550 | 552 |  	{ | 
                                                        
@@ -750,7 +752,7 @@ discard block  | 
                                                    ||
| 750 | 752 | |
| 751 | 753 | /**  | 
                                                        
| 752 | 754 | * @param \Reflector|\Nette\Reflection\ClassType|\Nette\Reflection\Method $refl  | 
                                                        
| 753 | - * @param \Exception|\Throwable $e  | 
                                                        |
| 755 | + * @param AnnotationException $e  | 
                                                        |
| 754 | 756 | * @param int $startLine  | 
                                                        
| 755 | 757 | *  | 
                                                        
| 756 | 758 | * @return int|string  | 
                                                        
@@ -806,6 +808,7 @@ discard block  | 
                                                    ||
| 806 | 808 | /**  | 
                                                        
| 807 | 809 | * @param \Reflector|Nette\Reflection\ClassType|Nette\Reflection\Method $refl  | 
                                                        
| 808 | 810 | * @param $annotation  | 
                                                        
| 811 | + * @return string  | 
                                                        |
| 809 | 812 | */  | 
                                                        
| 810 | 813 | private static function findRenamed(\Reflector $refl, $annotation)  | 
                                                        
| 811 | 814 |  	{ | 
                                                        
@@ -106,7 +106,7 @@  | 
                                                    ||
| 106 | 106 | |
| 107 | 107 | /**  | 
                                                        
| 108 | 108 |  	 * {@inheritdoc} | 
                                                        
| 109 | - * @param string|array $entity  | 
                                                        |
| 109 | + * @param string|array $entityName  | 
                                                        |
| 110 | 110 | * @return EntityManager  | 
                                                        
| 111 | 111 | */  | 
                                                        
| 112 | 112 | public function clear($entityName = null)  | 
                                                        
@@ -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);  | 
                                                        
@@ -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 | |
@@ -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;  | 
                                                        
@@ -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 | |
@@ -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 | |
@@ -368,7 +368,7 @@  | 
                                                    ||
| 368 | 368 | /**  | 
                                                        
| 369 | 369 | * @deprecated  | 
                                                        
| 370 | 370 | * @internal  | 
                                                        
| 371 | - * @param \Exception|\Throwable $e  | 
                                                        |
| 371 | + * @param \Exception $e  | 
                                                        |
| 372 | 372 | * @param string $query  | 
                                                        
| 373 | 373 | * @param array $params  | 
                                                        
| 374 | 374 | * @return DBALException  |