Completed
Pull Request — master (#325)
by
unknown
09:27
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/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.
src/Kdyby/Doctrine/Connection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@
 block discarded – undo
372 372
 	/**
373 373
 	 * @deprecated
374 374
 	 * @internal
375
-	 * @param \Exception|\Throwable $e
375
+	 * @param \Exception $e
376 376
 	 * @param string $query
377 377
 	 * @param array $params
378 378
 	 * @return \Kdyby\Doctrine\DBALException|\Exception|\Throwable
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Doctrine\DBAL\Types\Type;
16 16
 use Doctrine\DBAL\Driver;
17 17
 use Kdyby;
18
-use Nette;
19 18
 use PDO;
20 19
 use Tracy;
21 20
 
Please login to merge, or discard this patch.
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/exceptions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	/**
139 139
 	 * This is just a paranoia, hopes no one actually serializes exceptions.
140 140
 	 *
141
-	 * @return array
141
+	 * @return string[]
142 142
 	 */
143 143
 	public function __sleep()
144 144
 	{
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
 
166 166
 	/**
167
-	 * @param \Exception|\Throwable $previous
167
+	 * @param \Exception $previous
168 168
 	 * @param array $columns
169 169
 	 * @param string $query
170 170
 	 * @param array $params
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 
180 180
 
181 181
 	/**
182
-	 * @return array
182
+	 * @return string[]
183 183
 	 */
184 184
 	public function __sleep()
185 185
 	{
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 
221 221
 
222 222
 	/**
223
-	 * @return array
223
+	 * @return string[]
224 224
 	 */
225 225
 	public function __sleep()
226 226
 	{
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
 
246 246
 
247 247
 	/**
248
-	 * @param \Exception|\Throwable $previous
248
+	 * @param \Exception $previous
249 249
 	 * @param \Doctrine\ORM\AbstractQuery|NULL $query
250 250
 	 * @param string|NULL $message
251 251
 	 */
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Helpers.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;
12 12
 
13 13
 use Kdyby;
14
-use Nette;
15 14
 use Doctrine\DBAL\Types\Type;
16 15
 
17 16
 
Please login to merge, or discard this patch.