@@ -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 | // trim and unescape quotes if needed |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } else { |
| 102 | 102 | $type = $this->enum ? 'enum' : 'string'; |
| 103 | 103 | } |
| 104 | - throw new Exception("Default {$type} length beyond maximum: '{$value}'"); |
|
| 104 | + throw new Exception("default {$type} length beyond maximum: '{$value}'"); |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | if ($this->minLength !== null && mb_strlen($value) < $this->minLength) { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | } else { |
| 111 | 111 | $type = $this->enum ? 'enum' : 'string'; |
| 112 | 112 | } |
| 113 | - throw new Exception("Default {$type} length beyond minimum: '{$value}'"); |
|
| 113 | + throw new Exception("default {$type} length beyond minimum: '{$value}'"); |
|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | return $value; |