@@ -72,7 +72,7 @@ |
||
| 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 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * @param string $super URI of superproperty |
| 28 | 28 | * @param boolean $sort_by_notation whether to sort the property values by their notation code |
| 29 | 29 | */ |
| 30 | - public function __construct($prop, $label, $tooltip=null, $super=null, $sort_by_notation=false) |
|
| 30 | + public function __construct($prop, $label, $tooltip = null, $super = null, $sort_by_notation = false) |
|
| 31 | 31 | { |
| 32 | 32 | $this->prop = $prop; |
| 33 | 33 | $this->label = $label; |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | */ |
| 68 | 68 | public function getDescription() |
| 69 | 69 | { |
| 70 | - $helpprop = $this->prop . "_help"; |
|
| 70 | + $helpprop = $this->prop."_help"; |
|
| 71 | 71 | |
| 72 | 72 | // see if we have a translation with the help text |
| 73 | 73 | $help = gettext($helpprop); |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | public function addValue($value) |
| 100 | 100 | { |
| 101 | - $this->values[ltrim($value->getNotation() . ' ') . $value->getLabel() . rtrim(' ' . $value->getUri())] = $value; |
|
| 101 | + $this->values[ltrim($value->getNotation().' ').$value->getLabel().rtrim(' '.$value->getUri())] = $value; |
|
| 102 | 102 | $this->is_sorted = false; |
| 103 | 103 | } |
| 104 | 104 | |