| @@ -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 | )); | 
| @@ -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 | 
| @@ -126,7 +126,7 @@ discard block | ||
| 126 | 126 | // configure the HTTP client used by EasyRdf\Sparql\Client | 
| 127 | 127 | $httpclient = EasyRdf\Http::getDefaultHttpClient(); | 
| 128 | 128 |          $httpclient->setConfig(array('timeout' => $this->model->getConfig()->getSparqlTimeout(), | 
| 129 | - 'useragent' => 'Skosmos')); | |
| 129 | + 'useragent' => 'Skosmos')); | |
| 130 | 130 | |
| 131 | 131 | // if special cache control (typically no-cache) was requested by the | 
| 132 | 132 | // client, set the same type of cache control headers also in subsequent | 
| @@ -1017,7 +1017,7 @@ discard block | ||
| 1017 | 1017 | return $query; | 
| 1018 | 1018 | } | 
| 1019 | 1019 | /** | 
| 1020 | - * This function can be overwritten in other SPARQL dialects for the possibility of handling the different language clauses | |
| 1020 | + * This function can be overwritten in other SPARQL dialects for the possibility of handling the different language clauses | |
| 1021 | 1021 | * @param string $lang | 
| 1022 | 1022 | * @return string formatted language clause | 
| 1023 | 1023 | */ |