| @@ -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']) { | 
| @@ -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); | 
| @@ -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 | |
| @@ -62,7 +62,7 @@ discard block | ||
| 62 | 62 | |
| 63 | 63 | /** | 
| 64 | 64 | * @internal | 
| 65 | - * @param Doctrine\ORM\EntityManager $em | |
| 65 | + * @param EntityManager $em | |
| 66 | 66 | * @return $this | 
| 67 | 67 | */ | 
| 68 | 68 | public function bindEntityManager(Doctrine\ORM\EntityManager $em) | 
| @@ -427,7 +427,7 @@ discard block | ||
| 427 | 427 | |
| 428 | 428 | |
| 429 | 429 | /** | 
| 430 | - * @param \Exception|\Throwable $e | |
| 430 | + * @param \PDOException $e | |
| 431 | 431 | * @return string|NULL | 
| 432 | 432 | */ | 
| 433 | 433 | private static function resolveExceptionTable($e) |