@@ -47,6 +47,9 @@ |
||
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; |
@@ -36,6 +36,9 @@ discard block |
||
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 |
||
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 |
@@ -37,7 +37,7 @@ |
||
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 | { |