@@ -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); |
@@ -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 |
@@ -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) { |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | /** |
139 | 139 | * This is just a paranoia, hopes no one actually serializes exceptions. |
140 | 140 | * |
141 | - * @return array |
|
141 | + * @return string[] |
|
142 | 142 | */ |
143 | 143 | public function __sleep() |
144 | 144 | { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | |
166 | 166 | /** |
167 | - * @param \Exception|\Throwable $previous |
|
167 | + * @param \Exception $previous |
|
168 | 168 | * @param array $columns |
169 | 169 | * @param string $query |
170 | 170 | * @param array $params |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | |
180 | 180 | |
181 | 181 | /** |
182 | - * @return array |
|
182 | + * @return string[] |
|
183 | 183 | */ |
184 | 184 | public function __sleep() |
185 | 185 | { |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | |
221 | 221 | |
222 | 222 | /** |
223 | - * @return array |
|
223 | + * @return string[] |
|
224 | 224 | */ |
225 | 225 | public function __sleep() |
226 | 226 | { |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | |
246 | 246 | |
247 | 247 | /** |
248 | - * @param \Exception|\Throwable $previous |
|
248 | + * @param \Exception $previous |
|
249 | 249 | * @param \Doctrine\ORM\AbstractQuery|NULL $query |
250 | 250 | * @param string|NULL $message |
251 | 251 | */ |
@@ -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 | */ |