Completed
Push — master ( 06450e...20c82a )
by Mehmet
03:22
created
src/ModelUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
             default:
215 215
                 if ($max_length !== null) {
216 216
                     if (strlen($value)>$max_length) {
217
-                        throw new \Exception("Error for value '".$value."' for '".$key."' couldn't pass the " .
217
+                        throw new \Exception("Error for value '".$value."' for '".$key."' couldn't pass the ".
218 218
                             "validation: It's length must be smaller than ".$max_length."  ");
219 219
                     }
220 220
                 }
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
                 $options = array("options"=>array("regexp"=> $regex));
301 301
                 $filter_check = filter_var($value, FILTER_VALIDATE_REGEXP, $options);
302 302
                 if ($filter_check === false) {
303
-                    $exception_message="Error for value '".$value."' for '".$key."'
303
+                    $exception_message = "Error for value '".$value."' for '".$key."'
304 304
                                             couldn't pass the validation: INVALID_FORMAT";
305 305
                     throw new \Exception($exception_message);
306 306
                 }
Please login to merge, or discard this patch.