@@ -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); |
@@ -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 | } |