Completed
Push — master ( 4a9289...6c8c8c )
by Peter
08:35
created
src/IndexManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
 	 */
48 48
 	private $isIndexable = false;
49 49
 
50
+	/**
51
+	 * @param AnnotatedInterface $model
52
+	 */
50 53
 	public function __construct($model)
51 54
 	{
52 55
 		$this->model = $model;
Please login to merge, or discard this patch.
src/Traits/IndexAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	/**
38 38
 	 * Set currently used index
39 39
 	 * @param string $index
40
-	 * @return static
40
+	 * @return IndexAwareInterface
41 41
 	 */
42 42
 	public function setIndex($index)
43 43
 	{
Please login to merge, or discard this patch.
src/Decorators/UnderscoreIdFieldDecorator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	 * @param AnnotatedInterface $model Document model which will be decorated
35 35
 	 * @param mixed $dbValues
36 36
 	 * @param string $transformatorClass Transformator class used
37
-	 * @return bool Return true if value should be assigned to model
37
+	 * @return boolean|null Return true if value should be assigned to model
38 38
 	 */
39 39
 	public function read($model, &$dbValues, $transformatorClass = TransformatorInterface::class)
40 40
 	{
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 	 * @param AnnotatedInterface $model Model which is about to be decorated
55 55
 	 * @param mixed[] $dbValues Whole model values from database. This is associative array with keys same as model properties (use $name param to access value). This is passed by reference.
56 56
 	 * @param string $transformatorClass Transformator class used
57
-	 * @return bool Return true to store value to database
57
+	 * @return boolean|null Return true to store value to database
58 58
 	 */
59 59
 	public function write($model, &$dbValues, $transformatorClass = TransformatorInterface::class)
60 60
 	{
Please login to merge, or discard this patch.