Completed
Push — master ( 91a3af...095fa7 )
by Peter
06:05
created
src/IndexManager.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Elasticsearch\Client;
12 12
 use Maslosoft\Addendum\Interfaces\AnnotatedInterface;
13 13
 use Maslosoft\Mangan\Helpers\CollectionNamer;
14
-use Maslosoft\Mangan\Mangan;
15 14
 use Maslosoft\Manganel\Exceptions\ManganelException;
16 15
 use Maslosoft\Manganel\Meta\ManganelMeta;
17 16
 
Please login to merge, or discard this patch.
src/QueryBuilder.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@  discard block
 block discarded – undo
36 36
 	 */
37 37
 	private $model;
38 38
 
39
+	/**
40
+	 * @param AnnotatedInterface $model
41
+	 */
39 42
 	public function __construct($model)
40 43
 	{
41 44
 		$this->model = $model;
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
 		return true;
86 89
 	}
87 90
 
91
+	/**
92
+	 * @param string $q
93
+	 */
88 94
 	private function getParams($q = null)
89 95
 	{
90 96
 		// Try to get query from criteria if empty
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 namespace Maslosoft\Manganel;
10 10
 
11
-use Exception;
12 11
 use Maslosoft\Addendum\Interfaces\AnnotatedInterface;
13 12
 use Maslosoft\Mangan\Helpers\CollectionNamer;
14 13
 use Maslosoft\Mangan\Interfaces\CriteriaAwareInterface;
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.