Completed
Push — master ( 990d4b...c3c26b )
by Henri
02:53
created
model/sparql/GenericSparql.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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#');
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -651,7 +651,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.