@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | { |
227 | 227 | $type = ucfirst($type); |
228 | 228 | |
229 | - $cls = match ($type) { |
|
229 | + $cls = match($type) { |
|
230 | 230 | 'Ask' => AskQueryHandler::class, |
231 | 231 | 'Construct' => ConstructQueryHandler::class, |
232 | 232 | 'Describe' => DescribeQueryHandler::class, |
@@ -347,7 +347,7 @@ discard block |
||
347 | 347 | |
348 | 348 | $r = preg_replace("/^(.*[\/\#])([^\/\#]+)$/", '\\2', str_replace('#self', '', $res)); |
349 | 349 | $r = str_replace('_', ' ', $r); |
350 | - $r = preg_replace_callback('/([a-z])([A-Z])/', function ($matches) { |
|
350 | + $r = preg_replace_callback('/([a-z])([A-Z])/', function($matches) { |
|
351 | 351 | return $matches[1].' '.strtolower($matches[2]); |
352 | 352 | }, $r); |
353 | 353 |
@@ -206,7 +206,7 @@ |
||
206 | 206 | \in_array($var, $aggregate_vars) |
207 | 207 | ? 'literal' |
208 | 208 | : 'uri' |
209 | - ); |
|
209 | + ); |
|
210 | 210 | if ( |
211 | 211 | isset($pre_row[$var.' lang_dt']) |
212 | 212 | && ($lang_dt = $pre_row[$var.' lang_dt']) |