Completed
Push — master ( 3222da...939d45 )
by Peter
10:55
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/Helpers/RecursiveFilter.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Maslosoft\Manganel\Helpers;
4 4
 
5 5
 use MongoId;
6
-use RecursiveArrayIterator;
7
-use RecursiveIteratorIterator;
8 6
 
9 7
 /**
10 8
  * RecursiveFilter
Please login to merge, or discard this patch.
src/Helpers/TypeNamer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 class TypeNamer extends CollectionNamer
14 14
 {
15 15
 
16
+	/**
17
+	 * @param \Maslosoft\Addendum\Interfaces\AnnotatedInterface $model
18
+	 */
16 19
 	public static function nameType($model)
17 20
 	{
18 21
 		$enforcedType = ManganelMeta::create($model)->type()->type;
Please login to merge, or discard this patch.
src/Decorators/QueryBuilder/QueryString/BoostDecorator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Maslosoft\Manganel\Interfaces\QueryBuilder\QueryStringDecoratorInterface;
7 7
 use Maslosoft\Manganel\Meta\ManganelMeta;
8 8
 use Maslosoft\Manganel\SearchCriteria;
9
-use UnexpectedValueException;
10 9
 
11 10
 /**
12 11
  * BoostDecorator
Please login to merge, or discard this patch.
src/Options/MoreLike.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,9 @@
 block discarded – undo
11 11
 use function is_array;
12 12
 use Maslosoft\Addendum\Interfaces\AnnotatedInterface;
13 13
 use Maslosoft\Mangan\Interfaces\DataProviderInterface;
14
-use Maslosoft\Manganel\Decorators\QueryBuilder\ConditionDecorator;
15 14
 use Maslosoft\Manganel\Helpers\Strings;
16 15
 use Maslosoft\Manganel\Helpers\TypeNamer;
17 16
 use Maslosoft\Manganel\Manganel;
18
-use redirect_interval;
19 17
 use ReflectionClass;
20 18
 
21 19
 /**
Please login to merge, or discard this patch.