@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | |
| 266 | 266 | /** |
| 267 | 267 | * Returns a boolean value set in the config.ttl config. |
| 268 | - * @return array array of concept class URIs (can be empty) |
|
| 268 | + * @return string[] array of concept class URIs (can be empty) |
|
| 269 | 269 | */ |
| 270 | 270 | public function getIndexClasses() |
| 271 | 271 | { |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | |
| 275 | 275 | /** |
| 276 | 276 | * Returns skosmos:externalProperty values set in the config.ttl config. |
| 277 | - * @return array array of external property URIs (can be empty) |
|
| 277 | + * @return string[] array of external property URIs (can be empty) |
|
| 278 | 278 | */ |
| 279 | 279 | public function getExtProperties() |
| 280 | 280 | { |
@@ -420,7 +420,7 @@ discard block |
||
| 420 | 420 | * Additionally, the chosen content language is inserted with the highest priority |
| 421 | 421 | * and the vocab default language is inserted with the lowest priority. |
| 422 | 422 | * @param string $clang |
| 423 | - * @return array of language code strings |
|
| 423 | + * @return string[] of language code strings |
|
| 424 | 424 | */ |
| 425 | 425 | public function getLanguageOrder($clang) |
| 426 | 426 | { |
@@ -7,11 +7,11 @@ |
||
| 7 | 7 | abstract class BaseConfig extends DataObject |
| 8 | 8 | { |
| 9 | 9 | |
| 10 | - /** |
|
| 11 | - * Returns a boolean value based on a literal value from the config.ttl configuration. |
|
| 12 | - * @param string $property the property to query |
|
| 13 | - * @param boolean $default the default value if the value is not set in configuration |
|
| 14 | - */ |
|
| 10 | + /** |
|
| 11 | + * Returns a boolean value based on a literal value from the config.ttl configuration. |
|
| 12 | + * @param string $property the property to query |
|
| 13 | + * @param boolean $default the default value if the value is not set in configuration |
|
| 14 | + */ |
|
| 15 | 15 | protected function getBoolean($property, $default = false) |
| 16 | 16 | { |
| 17 | 17 | $val = $this->getResource()->getLiteral($property); |