Completed
Push — master ( 42e506...8a0122 )
by Henri
04:08
created
controller/WebController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -573,6 +573,7 @@
 block discarded – undo
573 573
 
574 574
     /**
575 575
      * Invokes a very generic errorpage.
576
+     * @param string $message
576 577
      */
577 578
     public function invokeGenericErrorPage($request, $message = null)
578 579
     {
Please login to merge, or discard this patch.
model/ConceptSearchParameters.php 1 patch
Doc Comments   +18 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')) {
@@ -56,6 +59,9 @@  discard block
 block discarded – undo
56 59
         $this->vocabs = $vocabs;
57 60
     }
58 61
     
62
+    /**
63
+     * @return string
64
+     */
59 65
     public function getArrayClass() 
60 66
     {
61 67
         if (sizeof($this->getVocabIds()) == 1) { // search within vocabulary
@@ -83,6 +89,9 @@  discard block
 block discarded – undo
83 89
         return $this->vocab->listConceptGroups($content_lang);
84 90
     }
85 91
     
92
+    /**
93
+     * @return string
94
+     */
86 95
     public function getSearchLang() 
87 96
     {
88 97
         if ($this->rest) {
@@ -116,11 +125,17 @@  discard block
 block discarded – undo
116 125
         return $this->request->getQueryParam('parent') !== '' ? $this->request->getQueryParam('parent') : null;
117 126
     }
118 127
 
128
+    /**
129
+     * @return integer
130
+     */
119 131
     public function getOffset() 
120 132
     {
121 133
         return ($this->request->getQueryParam('offset') && is_numeric($this->request->getQueryParam('offset')) && $this->request->getQueryParam('offset') >= 0) ? $this->request->getQueryParam('offset') : 0;
122 134
     }
123 135
 
136
+    /**
137
+     * @return integer|null
138
+     */
124 139
     public function getSearchLimit()
125 140
     {
126 141
         return $this->config->getDefaultSearchLimit();
@@ -130,6 +145,9 @@  discard block
 block discarded – undo
130 145
         return $this->unique;
131 146
     }
132 147
 
148
+    /**
149
+     * @param boolean $unique
150
+     */
133 151
     public function setUnique($unique) {
134 152
         $this->unique = $unique;
135 153
     }
Please login to merge, or discard this patch.
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.