Completed
Push — master ( 870e88...a18119 )
by Peter
12:51 queued 05:42
created
src/Helpers/Transformator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@
 block discarded – undo
57 57
 	 * Class constructor
58 58
 	 * @param AnnotatedInterface $model
59 59
 	 * @param string $transformatorClass
60
+	 * @param ManganMeta $meta
60 61
 	 */
61 62
 	public function __construct(AnnotatedInterface $model, $transformatorClass = TransformatorInterface::class, $meta = null)
62 63
 	{
Please login to merge, or discard this patch.
src/Document.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 use Maslosoft\Mangan\Interfaces\ActiveRecordInterface;
17 17
 use Maslosoft\Mangan\Sanitizers\MongoObjectId;
18
-use Maslosoft\Mangan\Sanitizers\MongoStringId;
19 18
 use Maslosoft\Mangan\Traits\CollectionNameTrait;
20 19
 use Maslosoft\Mangan\Traits\EntityManagerTrait;
21 20
 use Maslosoft\Mangan\Traits\FinderTrait;
Please login to merge, or discard this patch.
src/Cursor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 	/**
49 49
 	 * Construct a new Cursor
50 50
 	 *
51
-	 * @param MongoCursor|Iterator|Countable $cursor the cursor returned by the query
51
+	 * @param Iterator $cursor the cursor returned by the query
52 52
 	 * @param AnnotatedInterface $model the model for instantiating objects
53 53
 	 * @since v1.3.4
54 54
 	 */
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
 	/**
73 73
 	 * Return the current element
74
-	 * @return Document|null
74
+	 * @return null|AnnotatedInterface
75 75
 	 * @since v1.3.4
76 76
 	 */
77 77
 	public function current()
Please login to merge, or discard this patch.
src/Finder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -419,7 +419,7 @@
 block discarded – undo
419 419
 	/**
420 420
 	 * Creates a list of documents based on the input data.
421 421
 	 * This method is internally used by the find methods.
422
-	 * @param Iterator|array $cursor Results found to populate active records.
422
+	 * @param Iterator $cursor Results found to populate active records.
423 423
 	 * @return AnnotatedInterface[] array list of active records.
424 424
 	 * @since v1.0
425 425
 	 */
Please login to merge, or discard this patch.