@@ -137,7 +137,8 @@ discard block |
||
| 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 |
||
| 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(); |
@@ -523,7 +523,7 @@ |
||
| 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 | { |