Completed
Push — master ( 8e2732...38669b )
by Henri
02:54
created
model/ConceptProperty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
model/sparql/GenericSparql.php 1 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.