Completed
Push — master ( c9a923...7591c0 )
by Karsten
03:22
created
src/Psi/IsDateString.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public static function isValidDateString($str)
37 37
     {
38
-        if (! is_string($str)) {
38
+        if ( ! is_string($str)) {
39 39
             return false;
40 40
         }
41 41
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         $stamp = strtotime($str);
47 47
 
48
-        if (! is_numeric($stamp)) {
48
+        if ( ! is_numeric($stamp)) {
49 49
             return false;
50 50
         }
51 51
 
Please login to merge, or discard this patch.
src/Psi/IsSameDay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         $val = $this->getValue();
33 33
 
34
-        if (! $val instanceof LocalDate || ! $input instanceof LocalDate) {
34
+        if ( ! $val instanceof LocalDate || ! $input instanceof LocalDate) {
35 35
             return false;
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Operation/Terminal/MedianOperation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
         $left   = (int) floor($middle);
38 38
         $right  = (int) ceil($middle);
39 39
 
40
-        $leftVal  = $data[$left];
41
-        $rightVal = $data[$right];
40
+        $leftVal  = $data[ $left ];
41
+        $rightVal = $data[ $right ];
42 42
 
43
-        if (! is_scalar($leftVal) || ! is_scalar($rightVal)) {
43
+        if ( ! is_scalar($leftVal) || ! is_scalar($rightVal)) {
44 44
             return 0;
45 45
         }
46 46
 
47
-        return ($data[$left] + $data[$right]) / 2;
47
+        return ($data[ $left ] + $data[ $right ]) / 2;
48 48
     }
49 49
 }
Please login to merge, or discard this patch.