@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * @param string $prop property type eg. 'rdf:type'. |
22 | 22 | * @param string $label |
23 | 23 | */ |
24 | - public function __construct($prop, $label, $super=null) |
|
24 | + public function __construct($prop, $label, $super = null) |
|
25 | 25 | { |
26 | 26 | $this->prop = $prop; |
27 | 27 | $this->label = $label; |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | { |
87 | 87 | if (!empty($this->values)) { |
88 | 88 | uksort($this->values, function($a, $b) { |
89 | - return strnatcasecmp($a,$b); |
|
89 | + return strnatcasecmp($a, $b); |
|
90 | 90 | }); |
91 | 91 | } |
92 | 92 | $this->is_sorted = true; |
@@ -651,7 +651,7 @@ discard block |
||
651 | 651 | } |
652 | 652 | } |
653 | 653 | |
654 | - return implode(' UNION ', $type_patterns);; |
|
654 | + return implode(' UNION ', $type_patterns); ; |
|
655 | 655 | } |
656 | 656 | |
657 | 657 | /** |
@@ -829,7 +829,7 @@ discard block |
||
829 | 829 | |
830 | 830 | $schemecond = ''; |
831 | 831 | if (!empty($schemes)) { |
832 | - foreach($schemes as $scheme) { |
|
832 | + foreach ($schemes as $scheme) { |
|
833 | 833 | $schemecond .= "?s skos:inScheme <$scheme> . "; |
834 | 834 | } |
835 | 835 | } |
@@ -918,7 +918,7 @@ discard block |
||
918 | 918 | $hit['type'][] = $qnamecache[$typeuri]; |
919 | 919 | } |
920 | 920 | |
921 | - if(!empty($fields)) { |
|
921 | + if (!empty($fields)) { |
|
922 | 922 | foreach ($fields as $prop) { |
923 | 923 | $propname = $prop . 's'; |
924 | 924 | if (isset($row->$propname)) { |