@@ -39,13 +39,13 @@ |
||
39 | 39 | public function __construct() { |
40 | 40 | $todaysDate = new \DateTime('now'); |
41 | 41 | $thisYearHolidays = $this->setHolidays($todaysDate); |
42 | - echo '<h1>For ' . $todaysDate->format('Y') . ' the Romanian bank holidays are:</h1>' |
|
42 | + echo '<h1>For '.$todaysDate->format('Y').' the Romanian bank holidays are:</h1>' |
|
43 | 43 | . '<ul>'; |
44 | 44 | foreach ($thisYearHolidays as $value) { |
45 | - echo '<li>' . $value . ' --- ' . date('l, d F Y', $value) . '</li>'; |
|
45 | + echo '<li>'.$value.' --- '.date('l, d F Y', $value).'</li>'; |
|
46 | 46 | } |
47 | 47 | echo '</ul>' |
48 | - . '<p>For the month of ' . $todaysDate->format('M Y') . ' the number of working days is: ' |
|
49 | - . $this->setWorkingDaysInMonth($todaysDate) . '<p>'; |
|
48 | + . '<p>For the month of '.$todaysDate->format('M Y').' the number of working days is: ' |
|
49 | + . $this->setWorkingDaysInMonth($todaysDate).'<p>'; |
|
50 | 50 | } |
51 | 51 | } |
@@ -56,7 +56,7 @@ |
||
56 | 56 | */ |
57 | 57 | protected function readTypeFromJsonFileUniversal($filePath, $fileBaseName) |
58 | 58 | { |
59 | - $fName = __DIR__ . DIRECTORY_SEPARATOR . $filePath . DIRECTORY_SEPARATOR . $fileBaseName . '.min.json'; |
|
59 | + $fName = __DIR__.DIRECTORY_SEPARATOR.$filePath.DIRECTORY_SEPARATOR.$fileBaseName.'.min.json'; |
|
60 | 60 | $fJson = fopen($fName, 'r'); |
61 | 61 | $jSonContent = fread($fJson, filesize($fName)); |
62 | 62 | fclose($fJson); |