Completed
Pull Request — master (#266)
by Jáchym
03:21
created
src/Kdyby/Doctrine/DI/OrmExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -447,6 +447,9 @@
 block discarded – undo
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']) {
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Diagnostics/Panel.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/EntityManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Mapping/ResultSetMappingBuilder.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
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);
Please login to merge, or discard this 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\DBAL\Statement;
14 14
 use Kdyby;
15
-use Nette;
16 15
 
17 16
 
18 17
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/PDOStatement.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\DBAL\Statement;
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   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 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 16
 use Nette;
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Mapping/AnnotationDriver.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\DBAL\Statement;
14 14
 use Kdyby;
15
-use Nette;
16 15
 
17 16
 
18 17
 
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
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use Doctrine\DBAL\Statement;
14 14
 use Kdyby;
15
-use Nette;
16 15
 
17 16
 
18 17
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Connection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -368,7 +368,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.