@@ -199,10 +199,10 @@ |
||
| 199 | 199 | private function newDateIntervalAbsolute($years, $months, $days) { |
| 200 | 200 | $this->setdateInterval( |
| 201 | 201 | new DateInterval( |
| 202 | - "P" . |
|
| 203 | - (string)$years . "Y" . |
|
| 204 | - (string)$months . "M" . |
|
| 205 | - (string)$days . "D" |
|
| 202 | + "P". |
|
| 203 | + (string)$years."Y". |
|
| 204 | + (string)$months."M". |
|
| 205 | + (string)$days."D" |
|
| 206 | 206 | ) |
| 207 | 207 | ); |
| 208 | 208 | } |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | $relative_class_path = implode("/", $exploded_class); |
| 13 | 13 | |
| 14 | 14 | $absolute_class_path = |
| 15 | - dirname(dirname(__FILE__)) . |
|
| 16 | - '/' . |
|
| 17 | - $relative_class_path . |
|
| 15 | + dirname(dirname(__FILE__)). |
|
| 16 | + '/'. |
|
| 17 | + $relative_class_path. |
|
| 18 | 18 | '.php'; |
| 19 | 19 | |
| 20 | 20 | if (file_exists($absolute_class_path)) { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | $locale = Config::getConfigField("locale"); |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | - $localePath = FinanCalc::getPath() . "/locale/$locale.php"; |
|
| 30 | + $localePath = FinanCalc::getPath()."/locale/$locale.php"; |
|
| 31 | 31 | |
| 32 | 32 | if (!file_exists($localePath)) { |
| 33 | 33 | return null; |