@@ -38,10 +38,10 @@ discard block |
||
38 | 38 | { |
39 | 39 | $strings = []; |
40 | 40 | if (null !== $this->greaterEquals) { |
41 | - $strings[] = '>=' . $this->greaterEquals; |
|
41 | + $strings[] = '>='.$this->greaterEquals; |
|
42 | 42 | } |
43 | 43 | if (null !== $this->lessThan) { |
44 | - $strings[] = '<' . $this->lessThan; |
|
44 | + $strings[] = '<'.$this->lessThan; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | return implode(' and ', $strings); |
@@ -80,11 +80,11 @@ discard block |
||
80 | 80 | if ((null !== $this->greaterEquals && !version_compare($this->greaterEquals, $version, '<=')) || |
81 | 81 | (null !== $this->lessThan && !version_compare($this->lessThan, $version, '>'))) { |
82 | 82 | $result->setSuccess(false); |
83 | - $result->setError('Extension ' . $this->extension . ' loaded, but version ' . $version . ' not supported<br/>Version must be ' . $this->getVersionConstraintString()); |
|
83 | + $result->setError('Extension '.$this->extension.' loaded, but version '.$version.' not supported<br/>Version must be '.$this->getVersionConstraintString()); |
|
84 | 84 | } |
85 | 85 | } else { |
86 | 86 | $result->setSuccess(false); |
87 | - $result->setError('Extension ' . $this->extension . ' is missing'); |
|
87 | + $result->setError('Extension '.$this->extension.' is missing'); |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | return $result; |