浏览代码

typo

tags/0.1.11
Robin Thoni 9 年前
父节点
当前提交
19efe9e341
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2
    2
      src/Utils/Dbo/LuFloatDbo.php
  2. 2
    2
      src/Utils/Dbo/LuIntDbo.php

+ 2
- 2
src/Utils/Dbo/LuFloatDbo.php 查看文件

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

+ 2
- 2
src/Utils/Dbo/LuIntDbo.php 查看文件

65
     public function min($min)
65
     public function min($min)
66
     {
66
     {
67
         if ($this->_value < $min) {
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
     public function max($max)
72
     public function max($max)
73
     {
73
     {
74
         if ($this->_value > $max) {
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
     

正在加载...
取消
保存