Completed
Push — master ( 2a5c4e...914fd0 )
by Henri
03:56
created
model/sparql/GenericSparql.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -585,7 +585,7 @@
 block discarded – undo
585 585
 
586 586
     /**
587 587
      * Generate a VALUES clause for limiting the targeted graphs.
588
-     * @param array $vocabs array of Vocabulary objects to target
588
+     * @param Vocabulary[] $vocabs array of Vocabulary objects to target
589 589
      * @return string VALUES clause, or "" if not necessary to limit
590 590
      */
591 591
     protected function formatValuesGraph($vocabs) {
Please login to merge, or discard this patch.
model/ConceptSearchParameters.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
         $this->unique = $request->getQueryParamBoolean('unique', false);
23 23
     }
24 24
 
25
+    /**
26
+     * @return string
27
+     */
25 28
     public function getLang() 
26 29
     {
27 30
         if ($this->rest && $this->request->getQueryParam('labellang')) {
@@ -91,6 +94,9 @@  discard block
 block discarded – undo
91 94
         return $this->vocab->listConceptGroups($content_lang);
92 95
     }
93 96
     
97
+    /**
98
+     * @return string
99
+     */
94 100
     public function getSearchLang() 
95 101
     {
96 102
         if ($this->rest) {
@@ -130,11 +136,17 @@  discard block
 block discarded – undo
130 136
         return $this->request->getQueryParam('parent') !== '' ? $this->request->getQueryParam('parent') : null;
131 137
     }
132 138
 
139
+    /**
140
+     * @return integer
141
+     */
133 142
     public function getOffset() 
134 143
     {
135 144
         return ($this->request->getQueryParam('offset') && is_numeric($this->request->getQueryParam('offset')) && $this->request->getQueryParam('offset') >= 0) ? $this->request->getQueryParam('offset') : 0;
136 145
     }
137 146
 
147
+    /**
148
+     * @return integer|null
149
+     */
138 150
     public function getSearchLimit()
139 151
     {
140 152
         return $this->config->getDefaultSearchLimit();
@@ -144,6 +156,9 @@  discard block
 block discarded – undo
144 156
         return $this->unique;
145 157
     }
146 158
 
159
+    /**
160
+     * @param boolean $unique
161
+     */
147 162
     public function setUnique($unique) {
148 163
         $this->unique = $unique;
149 164
     }
Please login to merge, or discard this patch.