Passed
Branch develop (6275f6)
by Samson
02:24
created
src/Operations/Formatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     protected function getValueOfFormatCharacter($name)
45 45
     {
46 46
         if (array_key_exists($name, Constants::FORMAT_MAPPER)) {
47
-            return '' . $this->{Constants::FORMAT_MAPPER[$name]}();
47
+            return ''.$this->{Constants::FORMAT_MAPPER[$name]}();
48 48
         }
49 49
 
50 50
         return $this->dateTime->format($name);
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
         $hour = $this->getHour();
172 172
 
173
-        $result = array_filter($array, function ($value) use ($hour) {
173
+        $result = array_filter($array, function($value) use ($hour) {
174 174
             return false !== array_search($hour, $value, true);
175 175
         });
176 176
 
Please login to merge, or discard this patch.