Test Failed
Push — master ( fc4f20...ea5a85 )
by stéphane
13:54
created
sources/Dumper.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,9 @@
 block discarded – undo
48 48
      */
49 49
     public function toString($dataType, int $options = null):string
50 50
     {
51
-        if (empty($dataType)) throw new \Exception(self::class.": No content to convert to Yaml");
51
+        if (empty($dataType)) {
52
+            throw new \Exception(self::class.": No content to convert to Yaml");
53
+        }
52 54
         if (is_scalar($dataType)) {
53 55
             return "--- ".$this->handler->dumpScalar($dataType). self::LINEFEED ;
54 56
         }
Please login to merge, or discard this patch.