Completed
Push — master ( f2b62d...870e88 )
by Peter
07:13
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 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
 	/**
414 414
 	 * Creates a list of documents based on the input data.
415 415
 	 * This method is internally used by the find methods.
416
-	 * @param Iterator|array $cursor Results found to populate active records.
416
+	 * @param \Iterator $cursor Results found to populate active records.
417 417
 	 * @return AnnotatedInterface[] array list of active records.
418 418
 	 * @since v1.0
419 419
 	 */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use Maslosoft\Mangan\Interfaces\ScopeManagerInterface;
28 28
 use Maslosoft\Mangan\Meta\ManganMeta;
29 29
 use Maslosoft\Mangan\Transformers\RawArray;
30
-use MongoCursor;
31 30
 
32 31
 /**
33 32
  * Finder
Please login to merge, or discard this patch.