Completed
Pull Request — master (#307)
by Petr
07:25
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   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -630,7 +630,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/EntityManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Kdyby\Doctrine\QueryObject;
21 21
 use Kdyby\Doctrine\Tools\NonLockingUniqueInserter;
22 22
 use Kdyby\Persistence;
23
-use Nette;
24 23
 
25 24
 
26 25
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/EntityRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Doctrine\ORM\NonUniqueResultException;
17 17
 use Kdyby;
18 18
 use Kdyby\Persistence;
19
-use Nette;
20 19
 
21 20
 
22 21
 
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
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use Doctrine;
14 14
 use Kdyby;
15
-use Nette;
16 15
 
17 16
 
18 17
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Tools/CacheCleaner.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,8 @@
 block discarded – undo
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
-use Nette;
18 16
 
19 17
 
20 18
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Tools/NonLockingUniqueInserter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Kdyby\Doctrine\Connection;
22 22
 use Kdyby\Doctrine\EntityManager;
23 23
 use Kdyby\Doctrine\Mapping\ClassMetadata;
24
-use Nette;
25 24
 
26 25
 
27 26
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Dql/DqlBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\ORM\Query\Expr;
15 15
 use Kdyby\Doctrine\EntityManager;
16 16
 use Kdyby;
17
-use Nette;
18 17
 
19 18
 
20 19
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/DqlSelection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Doctrine\ORM\Query\Parameter;
16 16
 use Doctrine\Common\Collections\ArrayCollection;
17 17
 use Kdyby;
18
-use Nette;
19 18
 use Nette\Utils\Callback;
20 19
 
21 20
 
Please login to merge, or discard this patch.