Completed
Pull Request — master (#115)
by Alex
04:40
created
src/IsOKTraits/IsOKToolboxTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             return true;
76 76
         }
77 77
         if (!$object instanceof $instanceOf) {
78
-            $msg = "Supplied object not an instance of " . $instanceOf . ": " . get_class($this);
78
+            $msg = "Supplied object not an instance of ".$instanceOf.": ".get_class($this);
79 79
             return false;
80 80
         }
81 81
         return $object->isOK($msg);
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     {
86 86
         $result = $this->isValidArray($arr, $instanceOf, $minCount, $maxCount);
87 87
         if (!$result) {
88
-            $msg = "Supplied array not a valid array: " . get_class($this);
88
+            $msg = "Supplied array not a valid array: ".get_class($this);
89 89
             return false;
90 90
         }
91 91
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         }
118 118
         foreach ($arr as $item) {
119 119
             if (!($item instanceof IsOK)) {
120
-                $msg = "Child item is not an instance of IsOK: " . get_class($this);
120
+                $msg = "Child item is not an instance of IsOK: ".get_class($this);
121 121
                 return false;
122 122
             }
123 123
             if (!$item->isOK($msg)) {
Please login to merge, or discard this patch.
src/StringTraits/XSDTopLevelTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             $rawDate = $input;
83 83
         }
84 84
 
85
-        return $rawDate->format('Y-m-d') . 'T' . $rawDate->format('H:i:s');
85
+        return $rawDate->format('Y-m-d').'T'.$rawDate->format('H:i:s');
86 86
     }
87 87
 
88 88
     public function hexBinary($input)
Please login to merge, or discard this patch.