Completed
Push — master ( d6d70b...37a15b )
by Hannes
01:12
created
src/Rule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace hanneskod\clean;
6 6
 
@@ -71,8 +71,8 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function regexp(string $regexp): Rule
73 73
     {
74
-        return $this->match('is_string', function (string $value) use ($regexp): bool {
75
-            return (bool)preg_match($regexp, $value);
74
+        return $this->match('is_string', function(string $value) use ($regexp): bool {
75
+            return (bool) preg_match($regexp, $value);
76 76
         });
77 77
     }
78 78
 
Please login to merge, or discard this patch.