Passed
Push — master ( 3f839d...e5fd0a )
by Petr
02:12
created
php-src/Rules/ARule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,13 +35,13 @@
 block discarded – undo
35 35
         if (!is_array($whichInputs)) {
36 36
             throw new RuleException('Compare only against list of known keys!');
37 37
         }
38
-        $data = array_filter($this->getBoundForm()->getValues(), function ($k) use ($whichInputs) {
38
+        $data = array_filter($this->getBoundForm()->getValues(), function($k) use ($whichInputs) {
39 39
             return in_array($k, $whichInputs);
40 40
         }, ARRAY_FILTER_USE_KEY);
41 41
 
42 42
         // now set it in predefined order
43 43
         $flippedInputs = array_flip($whichInputs);
44
-        uksort($data, function ($a, $b) use ($flippedInputs) {
44
+        uksort($data, function($a, $b) use ($flippedInputs) {
45 45
             return strcmp(strval($flippedInputs[$a]), strval($flippedInputs[$b]));
46 46
         });
47 47
 
Please login to merge, or discard this patch.
php-src/Inputs/AuthCsrf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * @param string $errorMessage
40 40
      * @return $this
41 41
      */
42
-    public function setHidden(string $alias, ArrayAccess &$cookie, string $errorMessage = ''): self
42
+    public function setHidden(string $alias, ArrayAccess & $cookie, string $errorMessage = ''): self
43 43
     {
44 44
         $this->csrf->init($cookie);
45 45
         $this->setEntry($alias);
Please login to merge, or discard this patch.