Completed
Push — master ( 266e26...f6ded7 )
by Henri
02:55
created
model/sparql/GenericSparql.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,7 +139,8 @@  discard block
 block discarded – undo
139 139
 
140 140
     /**
141 141
      * @param array $langs Languages to query for
142
-     * @param array $props property names
142
+     * @param string[] $props property names
143
+     * @return string
143 144
      */
144 145
     private function generateCountLangConceptsQuery($langs, $classes, $props) {
145 146
         $gc = $this->graphClause;
@@ -171,7 +172,7 @@  discard block
 block discarded – undo
171 172
      * Transforms the CountLangConcepts results into an array of label counts.
172 173
      * @param EasyRdf_Sparql_Result $result query results to be transformed
173 174
      * @param array $langs Languages to query for
174
-     * @param array $props property names
175
+     * @param string[] $props property names
175 176
      */
176 177
     private function transformCountLangConceptsResults($result, $langs, $props) {
177 178
         $ret = array();
@@ -345,6 +346,7 @@  discard block
 block discarded – undo
345 346
      * @param EasyRdf_Graph $result query results to be transformed
346 347
      * @param mixed $uris concept URI (string) or array of URIs
347 348
      * @param \Vocabulary[] $vocabs array of Vocabulary object
349
+     * @param string|null $clang
348 350
      * @return mixed query result graph (EasyRdf_Graph), or array of Concept objects
349 351
      */
350 352
     private function transformConceptInfoResults($result, $uris, $vocabs, $clang) {
@@ -668,7 +670,7 @@  discard block
 block discarded – undo
668 670
      * @param string $term search term
669 671
      * @param string $lang language code of the returned labels
670 672
      * @param string $search_lang language code used for matching labels (null means any language)
671
-     * @param array $props properties to target e.g. array('skos:prefLabel','skos:altLabel')
673
+     * @param string[] $props properties to target e.g. array('skos:prefLabel','skos:altLabel')
672 674
      * @return string sparql query
673 675
      */
674 676
     protected function generateConceptSearchQueryInner($term, $lang, $search_lang, $props) {
Please login to merge, or discard this patch.