Test Failed
Push — master ( 7377d6...24f5d5 )
by Claudio
08:27
created
src/ComparatorFactory/SimpleCollator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
      */
22 22
     public function __construct(string $classname)
23 23
     {
24
-        if (! class_exists($classname)) {
24
+        if (!class_exists($classname)) {
25 25
             throw IntlSortException::classDoesNotExist($classname);
26 26
         }
27 27
 
28
-        if (! in_array(CollatorConstructor::class, (array) class_implements($classname), true)) {
28
+        if (!in_array(CollatorConstructor::class, (array) class_implements($classname), true)) {
29 29
             throw IntlSortException::doesNotImplementComparable($classname);
30 30
         }
31 31
 
Please login to merge, or discard this patch.
src/Comparator/Comparator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function compare($value, $comparativeValue): int
26 26
     {
27 27
         try {
28
-            $compared = $this->collator->compare((string)$value, (string)$comparativeValue);
28
+            $compared = $this->collator->compare((string) $value, (string) $comparativeValue);
29 29
             assert(is_int($compared));
30 30
 
31 31
             if ($this->collator->getErrorCode() !== 0) {
Please login to merge, or discard this patch.