Completed
Pull Request — master (#329)
by Vojtěch
08:37
created
src/Kdyby/Doctrine/Diagnostics/EntityManagerUnitOfWorkSnapshotPanel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Diagnostics/Panel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Connection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@
 block discarded – undo
375 375
 	/**
376 376
 	 * @deprecated
377 377
 	 * @internal
378
-	 * @param \Exception|\Throwable $e
378
+	 * @param \Exception $e
379 379
 	 * @param string $query
380 380
 	 * @param array $params
381 381
 	 * @return \Kdyby\Doctrine\Exception\DBALException|\Exception|\Throwable
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Kdyby\Doctrine\Exception\DBALException;
19 19
 use Kdyby\Doctrine\Exception\DuplicateEntryException;
20 20
 use Kdyby\Doctrine\Exception\EmptyValueException;
21
-use Nette;
22 21
 use PDO;
23 22
 use Tracy;
24 23
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Exception/DuplicateEntryException.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
 
21 21
     /**
22
-     * @param \Exception|\Throwable     $previous
22
+     * @param \Exception     $previous
23 23
      * @param array                     $columns
24 24
      * @param string                    $query
25 25
      * @param array                     $params
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
 
35 35
     /**
36
-     * @return array
36
+     * @return string[]
37 37
      */
38 38
     public function __sleep()
39 39
     {
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Exception/EmptyValueException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
 
34 34
     /**
35
-     * @return array
35
+     * @return string[]
36 36
      */
37 37
     public function __sleep()
38 38
     {
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/NativeQueryBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Doctrine;
14 14
 use Kdyby;
15 15
 use Kdyby\Doctrine\Exception\InvalidArgumentException;
16
-use Nette;
17 16
 
18 17
 
19 18
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/NativeQueryWrapper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Doctrine\ORM\Query;
19 19
 use Kdyby;
20 20
 use Kdyby\Doctrine\Exception\NotImplementedException;
21
-use Nette;
22 21
 
23 22
 
24 23
 
Please login to merge, or discard this patch.