Completed
Push — master ( 0fdc47...d6975c )
by Daniel
02:08
created
sample/BankHoliday.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,19 +40,19 @@
 block discarded – undo
40 40
     {
41 41
         $refDate          = new \DateTime('now');
42 42
         $thisYearHolidays = $this->setHolidays($refDate);
43
-        echo '<h1>For ' . $refDate->format('Y') . ' the Romanian bank holidays are:</h1>'
43
+        echo '<h1>For '.$refDate->format('Y').' the Romanian bank holidays are:</h1>'
44 44
         . '<ul>';
45 45
         foreach ($thisYearHolidays as $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 '<h1>For ' . $refDate->format('Y') . ' the Romanian working days month by month are:</h1>'
49
+        echo '<h1>For '.$refDate->format('Y').' the Romanian working days month by month are:</h1>'
50 50
         . '<ul>';
51 51
         for ($crtMonth = 1; $crtMonth <= 12; $crtMonth++) {
52
-            $crtDate = \DateTime::createFromFormat('Y-n-j', $refDate->format('Y') . '-' . $crtMonth . '-1');
52
+            $crtDate = \DateTime::createFromFormat('Y-n-j', $refDate->format('Y').'-'.$crtMonth.'-1');
53 53
             if ($crtDate !== false) {
54
-                echo '<li>' . $crtDate->format('M Y') . ' = '
55
-                . $this->setWorkingDaysInMonth($crtDate) . ' working days</li>';
54
+                echo '<li>'.$crtDate->format('M Y').' = '
55
+                . $this->setWorkingDaysInMonth($crtDate).' working days</li>';
56 56
             }
57 57
         }
58 58
         echo '</ul>';
Please login to merge, or discard this patch.