Completed
Pull Request — master (#307)
by Petr
07:25
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/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/EntityDao.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -11,12 +11,8 @@
 block discarded – undo
11 11
 namespace Kdyby\Doctrine;
12 12
 
13 13
 use Doctrine;
14
-use Doctrine\ORM\AbstractQuery;
15
-use Doctrine\ORM\NoResultException;
16
-use Doctrine\ORM\NonUniqueResultException;
17 14
 use Kdyby;
18 15
 use Kdyby\Persistence;
19
-use Nette;
20 16
 use Nette\Utils\Callback;
21 17
 use Nette\Utils\Arrays;
22 18
 
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
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Kdyby;
18 18
 use Kdyby\Doctrine\Tools\RobotLoader;
19 19
 use Kdyby\DoctrineCache\ReversedStorageDecorator;
20
-use Nette;
21 20
 use Nette\Caching\Storages\MemoryStorage;
22 21
 
23 22
 
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/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.