@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | } else { |
81 | 81 | $type = $this->enum ? 'enum' : 'string'; |
82 | 82 | } |
83 | - throw new Exception("Empty {$type} default"); |
|
83 | + throw new Exception("empty {$type} default"); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | if (!empty($this->enum) && !in_array($value, $this->enum, true)) { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } else { |
94 | 94 | $type = $this->enum ? 'enum' : 'string'; |
95 | 95 | } |
96 | - throw new Exception("Default {$type} length beyond maximum: '{$value}'"); |
|
96 | + throw new Exception("default {$type} length beyond maximum: '{$value}'"); |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | if ($this->minLength !== null && mb_strlen($value) < $this->minLength) { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | } else { |
103 | 103 | $type = $this->enum ? 'enum' : 'string'; |
104 | 104 | } |
105 | - throw new Exception("Default {$type} length beyond minimum: '{$value}'"); |
|
105 | + throw new Exception("default {$type} length beyond minimum: '{$value}'"); |
|
106 | 106 | } |
107 | 107 | |
108 | 108 | return $value; |