@@ -75,7 +75,7 @@ discard block |
||
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 |
||
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 |
||
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)) { |
@@ -82,7 +82,7 @@ |
||
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) |