@@ -114,7 +114,7 @@ |
||
114 | 114 | */ |
115 | 115 | public function getEnvLang() |
116 | 116 | { |
117 | - // get language from locale, same as used by gettext, set by Controller |
|
118 | - return substr(getenv("LC_ALL"), 0, 2); // @codeCoverageIgnore |
|
117 | + // get language from locale, same as used by gettext, set by Controller |
|
118 | + return substr(getenv("LC_ALL"), 0, 2); // @codeCoverageIgnore |
|
119 | 119 | } |
120 | 120 | } |
@@ -39,11 +39,11 @@ |
||
39 | 39 | return $html; |
40 | 40 | } |
41 | 41 | /** |
42 | - * Validate honeypot is empty |
|
43 | - * |
|
44 | - * @param mixed $value |
|
45 | - * @return boolean |
|
46 | - */ |
|
42 | + * Validate honeypot is empty |
|
43 | + * |
|
44 | + * @param mixed $value |
|
45 | + * @return boolean |
|
46 | + */ |
|
47 | 47 | public function validateHoneypot($value) |
48 | 48 | { |
49 | 49 | if ($this->disabled) { |
@@ -1744,7 +1744,7 @@ discard block |
||
1744 | 1744 | |
1745 | 1745 | /** |
1746 | 1746 | * Generates a sparql query for finding the hierarchy for a concept. |
1747 | - * A concept may be a top concept in multiple schemes, returned as a single whitespace-separated literal. |
|
1747 | + * A concept may be a top concept in multiple schemes, returned as a single whitespace-separated literal. |
|
1748 | 1748 | * @param string $uri concept uri. |
1749 | 1749 | * @param string $lang |
1750 | 1750 | * @param string $fallback language to use if label is not available in the preferred language |
@@ -1821,11 +1821,11 @@ discard block |
||
1821 | 1821 | $ret[$uri]['exact'] = $row->exact->getUri(); |
1822 | 1822 | } |
1823 | 1823 | if (isset($row->tops)) { |
1824 | - $topConceptsList=array(); |
|
1825 | - $topConceptsList=explode(" ", $row->tops->getValue()); |
|
1826 | - // sort to garantee an alphabetical ordering of the URI |
|
1827 | - sort($topConceptsList); |
|
1828 | - $ret[$uri]['tops'] = $topConceptsList; |
|
1824 | + $topConceptsList=array(); |
|
1825 | + $topConceptsList=explode(" ", $row->tops->getValue()); |
|
1826 | + // sort to garantee an alphabetical ordering of the URI |
|
1827 | + sort($topConceptsList); |
|
1828 | + $ret[$uri]['tops'] = $topConceptsList; |
|
1829 | 1829 | } |
1830 | 1830 | if (isset($row->children)) { |
1831 | 1831 | if (!isset($ret[$uri]['narrower'])) { |