@@ -21,7 +21,7 @@ discard block |
||
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; |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | public function getDescription() |
61 | 61 | { |
62 | - $helpprop = $this->prop . "_help"; |
|
62 | + $helpprop = $this->prop."_help"; |
|
63 | 63 | |
64 | 64 | return gettext($helpprop); // can't use string constant, it'd be picked up by xgettext |
65 | 65 | } |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | |
79 | 79 | public function addValue($value) |
80 | 80 | { |
81 | - $this->values[$value->getNotation() . $value->getLabel() . $value->getUri()] = $value; |
|
81 | + $this->values[$value->getNotation().$value->getLabel().$value->getUri()] = $value; |
|
82 | 82 | $this->is_sorted = false; |
83 | 83 | } |
84 | 84 | |
@@ -86,7 +86,7 @@ discard block |
||
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; |