Completed
Pull Request — master (#995)
by Osma
03:39 queued 01:47
created
model/ConceptProperty.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             return $help;
73 73
         }
74 74
 
75
-       // if not, see if there was a comment/definition for the property in the graph
75
+        // if not, see if there was a comment/definition for the property in the graph
76 76
         if ($this->tooltip !== null) {
77 77
             return $this->tooltip;
78 78
         }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param string $prop property type eg. 'rdf:type'.
25 25
      * @param string $label
26 26
      */
27
-    public function __construct($prop, $label, $tooltip=null, $super=null, $sort_by_notation=false)
27
+    public function __construct($prop, $label, $tooltip = null, $super = null, $sort_by_notation = false)
28 28
     {
29 29
         $this->prop = $prop;
30 30
         $this->label = $label;
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function getDescription()
66 66
     {
67
-        $helpprop = $this->prop . "_help";
67
+        $helpprop = $this->prop."_help";
68 68
 
69 69
         // see if we have a translation with the help text
70 70
         $help = gettext($helpprop);
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     public function addValue($value)
97 97
     {
98
-        $this->values[ltrim($value->getNotation() . ' ') . $value->getLabel() . rtrim(' ' . $value->getUri())] = $value;
98
+        $this->values[ltrim($value->getNotation().' ').$value->getLabel().rtrim(' '.$value->getUri())] = $value;
99 99
         $this->is_sorted = false;
100 100
     }
101 101
 
Please login to merge, or discard this patch.