Completed
Push — master ( 59eb2d...2cc56c )
by Henri
04:49
created
model/sparql/GenericSparql.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,8 @@  discard block
 block discarded – undo
137 137
 
138 138
     /**
139 139
      * @param array $langs Languages to query for
140
-     * @param array $props property names
140
+     * @param string[] $props property names
141
+     * @return string
141 142
      */
142 143
     private function generateCountLangConceptsQuery($langs, $classes, $props) {
143 144
         $gc = $this->graphClause;
@@ -169,7 +170,7 @@  discard block
 block discarded – undo
169 170
      * Transforms the CountLangConcepts results into an array of label counts.
170 171
      * @param EasyRdf_Sparql_Result $result query results to be transformed
171 172
      * @param array $langs Languages to query for
172
-     * @param array $props property names
173
+     * @param string[] $props property names
173 174
      */
174 175
     private function transformCountLangConceptsResults($result, $langs, $props) {
175 176
         $ret = array();
Please login to merge, or discard this patch.
model/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
      * Get the label for a resource, preferring 1. the given language 2. configured languages 3. any language.
524 524
      * @param EasyRdf_Resource $res resource whose label to return
525 525
      * @param string $lang preferred language
526
-     * @return EasyRdf_Literal label as an EasyRdf_Literal object, or null if not found
526
+     * @return string label as an EasyRdf_Literal object, or null if not found
527 527
      */
528 528
     public function getResourceLabel($res, $lang)
529 529
     {
Please login to merge, or discard this patch.