Completed
Push — master ( d88939...76eafd )
by Filip
02:26
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/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
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Doctrine;
14 14
 use Doctrine\ORM\EntityManager;
15 15
 use Kdyby;
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
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Doctrine\ORM\NativeQuery;
18 18
 use Doctrine\ORM\Query;
19 19
 use Kdyby;
20
-use Nette;
21 20
 
22 21
 
23 22
 
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/exceptions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 	/**
280 280
 	 * This is just a paranoia, hopes no one actually serializes exceptions.
281 281
 	 *
282
-	 * @return array
282
+	 * @return string[]
283 283
 	 */
284 284
 	public function __sleep()
285 285
 	{
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
 
321 321
 
322 322
 	/**
323
-	 * @return array
323
+	 * @return string[]
324 324
 	 */
325 325
 	public function __sleep()
326 326
 	{
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
 
362 362
 
363 363
 	/**
364
-	 * @return array
364
+	 * @return string[]
365 365
 	 */
366 366
 	public function __sleep()
367 367
 	{
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Diagnostics/FileLogger.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\DBAL\Logging\SQLLogger;
14 14
 use Kdyby;
15 15
 use Nette;
16
-use Tracy\Debugger;
17 16
 
18 17
 
19 18
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Connection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
 	/**
64 64
 	 * @internal
65
-	 * @param Doctrine\ORM\EntityManager $em
65
+	 * @param EntityManager $em
66 66
 	 * @return $this
67 67
 	 */
68 68
 	public function bindEntityManager(Doctrine\ORM\EntityManager $em)
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
 
428 428
 
429 429
 	/**
430
-	 * @param \Exception|\Throwable $e
430
+	 * @param \PDOException $e
431 431
 	 * @return string|NULL
432 432
 	 */
433 433
 	private static function resolveExceptionTable($e)
Please login to merge, or discard this patch.