Passed
Push — master ( 637623...02963c )
by Dedipyaman
02:11
created
src/Type/StringRequired.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,9 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct(string $text)
29 29
     {
30
-        if (empty($text))
31
-            throw new EmptyRequiredValue();
30
+        if (empty($text)) {
31
+                    throw new EmptyRequiredValue();
32
+        }
32 33
 
33 34
         $this->value = $text;
34 35
     }
Please login to merge, or discard this patch.