@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2012-2013 Aalto University and University of Helsinki |
|
4 | - * MIT License |
|
5 | - * see LICENSE.txt for more information |
|
6 | - */ |
|
3 | + * Copyright (c) 2012-2013 Aalto University and University of Helsinki |
|
4 | + * MIT License |
|
5 | + * see LICENSE.txt for more information |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | /* Register text: namespace needed for jena-text queries */ |
9 | 9 | EasyRdf_Namespace::set('text', 'http://jena.apache.org/text#'); |
@@ -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)) { |