Completed
Pull Request — master (#259)
by Filip
02:33
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/Entities/IdentifiedEntity.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,7 @@
 block discarded – undo
10 10
 
11 11
 namespace Kdyby\Doctrine\Entities;
12 12
 
13
-use Doctrine\ORM\Proxy\Proxy;
14 13
 use Doctrine\ORM\Mapping as ORM;
15
-use Nette;
16 14
 use Kdyby;
17 15
 
18 16
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Entities/MagicAccessors.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 use Doctrine;
12 12
 use Doctrine\Common\Collections\Collection;
13
-use Doctrine\ORM\Mapping as ORM;
14 13
 use Kdyby;
15 14
 use Kdyby\Doctrine\Collections\ReadOnlyCollectionWrapper;
16 15
 use Kdyby\Doctrine\MemberAccessException;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -263,7 +263,8 @@  discard block
 block discarded – undo
263 263
 	 *
264 264
 	 * @param  string  method name
265 265
 	 * @param  callable
266
-	 * @return mixed
266
+	 * @param string $name
267
+	 * @return callable
267 268
 	 */
268 269
 	public static function extensionMethod($name, $callback = NULL)
269 270
 	{
@@ -427,7 +428,7 @@  discard block
 block discarded – undo
427 428
 	/**
428 429
 	 * Should return only public or protected properties of class
429 430
 	 *
430
-	 * @return array
431
+	 * @return string
431 432
 	 */
432 433
 	private function listObjectProperties()
433 434
 	{
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.