Completed
Push — master ( c73d67...e98554 )
by Mehmet
03:16
created
src/ModelUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
                     $options = array("options"=>array("regexp"=> $regex));
255 255
                     $filter_check = filter_var($value, FILTER_VALIDATE_REGEXP, $options);
256 256
                     if ($filter_check === false) {
257
-                        $exception_message="Error for value '".$value."' for '".$key."' 
257
+                        $exception_message = "Error for value '".$value."' for '".$key."' 
258 258
                                             couldn't pass the validation: INVALID_FORMAT";
259 259
                         throw new \Exception($exception_message);
260 260
                     }
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
             default:
290 290
                 if ($max_length !== null) {
291 291
                     if (strlen($value)>$max_length) {
292
-                        throw new \Exception("Error for value '".$value."' for '".$key."' couldn't pass the " .
292
+                        throw new \Exception("Error for value '".$value."' for '".$key."' couldn't pass the ".
293 293
                             "validation: It's length must be smaller than ".$max_length."  ");
294 294
                     }
295 295
                 }
Please login to merge, or discard this patch.