@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @param string $query |
66 | 66 | * @return string |
67 | - */ |
|
67 | + */ |
|
68 | 68 | protected function generateQueryPrefixes($query) |
69 | 69 | { |
70 | 70 | // Check for undefined prefixes |
@@ -1016,7 +1016,7 @@ discard block |
||
1016 | 1016 | return $query; |
1017 | 1017 | } |
1018 | 1018 | /** |
1019 | - * This function can be overwritten in other SPARQL dialects for the possibility of handling the different language clauses |
|
1019 | + * This function can be overwritten in other SPARQL dialects for the possibility of handling the different language clauses |
|
1020 | 1020 | * @param string $lang |
1021 | 1021 | * @return string formatted language clause |
1022 | 1022 | */ |
@@ -33,16 +33,16 @@ |
||
33 | 33 | // Encrypt the current time |
34 | 34 | $honey_time_encrypted = $this->getEncryptedTime(); |
35 | 35 | return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" . |
36 | - '<input name="' . $honey_name . '" type="text" value="" id="' . $honey_name . '"/>' . "\r\n" . |
|
37 | - '<input name="' . $honey_time . '" type="text" value="' . $honey_time_encrypted . '"/>' . "\r\n" . |
|
36 | + '<input name="' . $honey_name . '" type="text" value="" id="' . $honey_name . '"/>' . "\r\n" . |
|
37 | + '<input name="' . $honey_time . '" type="text" value="' . $honey_time_encrypted . '"/>' . "\r\n" . |
|
38 | 38 | '</div>'; |
39 | 39 | } |
40 | 40 | /** |
41 | - * Validate honeypot is empty |
|
42 | - * |
|
43 | - * @param mixed $value |
|
44 | - * @return boolean |
|
45 | - */ |
|
41 | + * Validate honeypot is empty |
|
42 | + * |
|
43 | + * @param mixed $value |
|
44 | + * @return boolean |
|
45 | + */ |
|
46 | 46 | public function validateHoneypot($value): bool |
47 | 47 | { |
48 | 48 | if ($this->disabled) { |
@@ -1165,9 +1165,9 @@ |
||
1165 | 1165 | return $this->returnJson(array_merge_recursive( |
1166 | 1166 | $this->context, |
1167 | 1167 | array('@context' => array( '@language' => $request->getLang(), |
1168 | - 'prefLabel' => 'skos:prefLabel', |
|
1169 | - 'xsd' => 'http://www.w3.org/2001/XMLSchema#', |
|
1170 | - 'date' => array( '@id' => 'http://purl.org/dc/terms/date', '@type' => 'http://www.w3.org/2001/XMLSchema#dateTime') ) |
|
1168 | + 'prefLabel' => 'skos:prefLabel', |
|
1169 | + 'xsd' => 'http://www.w3.org/2001/XMLSchema#', |
|
1170 | + 'date' => array( '@id' => 'http://purl.org/dc/terms/date', '@type' => 'http://www.w3.org/2001/XMLSchema#dateTime') ) |
|
1171 | 1171 | ), |
1172 | 1172 | array('changeList' => $simpleChangeList) |
1173 | 1173 | )); |