Completed
Push — master ( 51e00b...69ef22 )
by Peter
05:35
created
src/Decorators/EmbeddedArrayDecorator.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 Maslosoft\Mangan\Helpers\DbRefManager;
18 18
 use Maslosoft\Mangan\Interfaces\Decorators\Property\DecoratorInterface;
19 19
 use Maslosoft\Mangan\Interfaces\Transformators\TransformatorInterface;
20
-use Maslosoft\Mangan\Model\DbRef;
21 20
 
22 21
 /**
23 22
  * EmbeddedArrayDecorator
Please login to merge, or discard this patch.
src/Helpers/IndexManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -137,6 +137,9 @@
 block discarded – undo
137 137
 		return array_sum($results) === count($results);
138 138
 	}
139 139
 
140
+	/**
141
+	 * @param string $className
142
+	 */
140 143
 	public function getStoragePath(AnnotatedInterface $model = null, $className = null)
141 144
 	{
142 145
 		if(empty($className))
Please login to merge, or discard this patch.
src/Traits/Criteria/DecoratableTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	/**
53 53
 	 * Set condition decorator interface
54 54
 	 * @param ConditionDecoratorInterface $cd
55
-	 * @return CriteriaInterface
55
+	 * @return DecoratableTrait
56 56
 	 */
57 57
 	public function setCd(ConditionDecoratorInterface $cd)
58 58
 	{
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	 * Decorate and sanitize criteria with provided model.
69 69
 	 * @param AnnotatedInterface $model Model to use for decorators and sanitizer when creating conditions. If null no decorators will be used. If model is provided it's sanitizers and decorators will be used.
70 70
 	 * @param ConditionDecoratorInterface $decorator
71
-	 * @return CriteriaInterface
71
+	 * @return DecoratableTrait
72 72
 	 */
73 73
 	public function decorateWith($model, ConditionDecoratorInterface $decorator = null)
74 74
 	{
Please login to merge, or discard this patch.
src/Helpers/ParentChildTrashHandlers.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	/**
43 43
 	 * Register event handlers for parent of parent-child relation.
44 44
 	 *
45
-	 * @param AnnotatedInterface|string $parent
45
+	 * @param string $parent
46 46
 	 * @param string $childClass
47 47
 	 */
48 48
 	public function registerParent($parent, $childClass)
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	/**
157 157
 	 * Register event handlers for child item of parent-child relation.
158 158
 	 *
159
-	 * @param AnnotatedInterface|string $child
159
+	 * @param string $child
160 160
 	 * @param string $parentClass
161 161
 	 * @throws UnexpectedValueException
162 162
 	 */
Please login to merge, or discard this patch.