@@ -43,7 +43,7 @@ |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | private function readTypeFromJsonFile($fileBaseName) { |
| 46 | - $fName = __DIR__ . DIRECTORY_SEPARATOR . 'json' . DIRECTORY_SEPARATOR . $fileBaseName . '.min.json'; |
|
| 46 | + $fName = __DIR__.DIRECTORY_SEPARATOR.'json'.DIRECTORY_SEPARATOR.$fileBaseName.'.min.json'; |
|
| 47 | 47 | $fJson = fopen($fName, 'r'); |
| 48 | 48 | $jSonContent = fread($fJson, filesize($fName)); |
| 49 | 49 | fclose($fJson); |
@@ -40,13 +40,13 @@ |
||
| 40 | 40 | { |
| 41 | 41 | $todaysDate = strtotime('today'); |
| 42 | 42 | $thisYearHolidays = $this->setHolidays($todaysDate); |
| 43 | - echo '<h1>For ' . daye('Y', $todaysDate) . ' the Romanian bank holidays are:</h1>' |
|
| 43 | + echo '<h1>For '.daye('Y', $todaysDate).' the Romanian bank holidays are:</h1>' |
|
| 44 | 44 | . '<ul>'; |
| 45 | 45 | foreach ($thisYearHolidays as $key => $value) { |
| 46 | - echo '<li>' . $value . ' --- ' . date('l, d F Y', $value) . '</li>'; |
|
| 46 | + echo '<li>'.$value.' --- '.date('l, d F Y', $value).'</li>'; |
|
| 47 | 47 | } |
| 48 | 48 | echo '</ul>'; |
| 49 | - echo '<p>For the month of ' . date('M Y', $todaysDate) . ' the number of working days is: ' |
|
| 50 | - . $this->setWorkingDaysInMonth($todaysDate) . '<p>'; |
|
| 49 | + echo '<p>For the month of '.date('M Y', $todaysDate).' the number of working days is: ' |
|
| 50 | + . $this->setWorkingDaysInMonth($todaysDate).'<p>'; |
|
| 51 | 51 | } |
| 52 | 52 | } |