Completed
Pull Request — master (#330)
by
unknown
01:20
created
src/Kdyby/Doctrine/Tools/CacheCleaner.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,8 @@
 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
-use Nette;
18 16
 
19 17
 
20 18
 
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Tools/NonLockingUniqueInserter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Kdyby\Doctrine\Connection;
22 22
 use Kdyby\Doctrine\EntityManager;
23 23
 use Kdyby\Doctrine\Mapping\ClassMetadata;
24
-use Nette;
25 24
 
26 25
 
27 26
 
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
 	{
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 
206 206
 
207 207
 	/**
208
-	 * @param \Exception|\Throwable $previous
208
+	 * @param \PDOException $previous
209 209
 	 * @param string|NULL $column
210 210
 	 * @param string $query
211 211
 	 * @param array $params
@@ -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
 	{
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/ResultSet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@
 block discarded – undo
363 363
 
364 364
 	/**
365 365
 	 * @param \Doctrine\ORM\AbstractQuery|\Doctrine\ORM\Query|\Doctrine\ORM\NativeQuery $query
366
-	 * @return \Doctrine\ORM\Tools\Pagination\Paginator
366
+	 * @return null|ResultPaginator
367 367
 	 */
368 368
 	private function createPaginatedQuery(ORM\AbstractQuery $query)
369 369
 	{
Please login to merge, or discard this patch.
src/Kdyby/Doctrine/Diagnostics/Panel.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
633 633
 
634 634
 	/**
635 635
 	 * @param \Doctrine\Common\Annotations\AnnotationException $e
636
-	 * @return string|bool
636
+	 * @return false|string
637 637
 	 */
638 638
 	public static function highlightAnnotationLine(AnnotationException $e)
639 639
 	{
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
 
676 676
 
677 677
 	/**
678
-	 * @param \Reflector|\Nette\Reflection\ClassType|\Nette\Reflection\Method|\Nette\Reflection\Property $refl
678
+	 * @param \Reflector $refl
679 679
 	 * @param \Exception|\Throwable $e
680 680
 	 * @param int|NULL $startLine
681 681
 	 * @return int|NULL
@@ -713,7 +713,7 @@  discard block
 block discarded – undo
713 713
 
714 714
 
715 715
 	/**
716
-	 * @param \Reflector|\Nette\Reflection\ClassType|\Nette\Reflection\Method $refl
716
+	 * @param \Reflector $refl
717 717
 	 * @param int $symbolPos
718 718
 	 * @return int
719 719
 	 */
@@ -733,7 +733,7 @@  discard block
 block discarded – undo
733 733
 
734 734
 
735 735
 	/**
736
-	 * @param \Reflector|Nette\Reflection\ClassType|Nette\Reflection\Method $refl
736
+	 * @param \Reflector $refl
737 737
 	 * @param string $annotation
738 738
 	 * @return string
739 739
 	 */
@@ -764,7 +764,7 @@  discard block
 block discarded – undo
764 764
 
765 765
 
766 766
 	/**
767
-	 * @param \Nette\Reflection\ClassType|\Nette\Reflection\Method|\Reflector $refl
767
+	 * @param \Reflector $refl
768 768
 	 * @param int|null $atPos
769 769
 	 * @return string
770 770
 	 */
Please login to merge, or discard this patch.