Completed
Push — master ( 9b4a36...017dcb )
by Daniel
02:41
created
sample/BankHoliday.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,13 +39,13 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.