@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | */ |
105 | 105 | public function getString(string $strPath, string $strDefault = '') : string |
106 | 106 | { |
107 | - return (string) $this->getValue($strPath, $strDefault); |
|
107 | + return (string)$this->getValue($strPath, $strDefault); |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | { |
140 | 140 | $value = $this->getValue($strPath, $bDefault); |
141 | 141 | if (!is_bool($value)) { |
142 | - $value = $this->boolFromString((string) $value, $bDefault); |
|
142 | + $value = $this->boolFromString((string)$value, $bDefault); |
|
143 | 143 | } |
144 | 144 | return $value; |
145 | 145 | } |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | */ |
156 | 156 | public function getDate(string $strPath, int $default = 0) : int |
157 | 157 | { |
158 | - $date = (string) $this->getValue($strPath, $default); |
|
158 | + $date = (string)$this->getValue($strPath, $default); |
|
159 | 159 | if (!ctype_digit($date)) { |
160 | 160 | $dt = \DateTime::createFromFormat($this->strDateFormat, $date); |
161 | 161 | $date = $default; |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | */ |
184 | 184 | public function getDateTime(string $strPath, int $default = 0) : int |
185 | 185 | { |
186 | - $date = (string) $this->getValue($strPath, $default); |
|
186 | + $date = (string)$this->getValue($strPath, $default); |
|
187 | 187 | if (!ctype_digit($date)) { |
188 | 188 | $dt = \DateTime::createFromFormat($this->strDateTimeFormat, $date); |
189 | 189 | $date = $default; |