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