|
@@ -65,14 +65,14 @@ class LuIntDbo extends LuDbo
|
65
|
65
|
public function min($min)
|
66
|
66
|
{
|
67
|
67
|
if ($this->_value < $min) {
|
68
|
|
- throw new LuDboConstraintException("Integer must be greater or equal than ${min}");
|
|
68
|
+ throw new LuDboConstraintException("Integer must be greater or equal to ${min}");
|
69
|
69
|
}
|
70
|
70
|
}
|
71
|
71
|
|
72
|
72
|
public function max($max)
|
73
|
73
|
{
|
74
|
74
|
if ($this->_value > $max) {
|
75
|
|
- throw new LuDboConstraintException("Integer must be smaller or equal than ${max}");
|
|
75
|
+ throw new LuDboConstraintException("Integer must be smaller or equal to ${max}");
|
76
|
76
|
}
|
77
|
77
|
}
|
78
|
78
|
|