Skip to content

Commit 5a14056

Browse files
authored
Fix Typo
1 parent 192fdf7 commit 5a14056

File tree

2 files changed

+1293
-1293
lines changed

2 files changed

+1293
-1293
lines changed

src/Red/ValidateService/Rules.php

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
<?php
2-
/** Red Framework
3-
* Validation Rules
4-
* @author RedCoder
5-
* http://redframework.ir
6-
*/
7-
8-
namespace Red\ValidateService;
9-
10-
11-
12-
class Rules
13-
{
14-
public static function rules()
15-
{
16-
17-
/* Example:
18-
Validate::addRule("test", function ($no, $min, $max, $string) {
19-
// DO Your RegEX Based on Info then Return True or False Result (This Callback will be used For Standard Validation)
20-
},
21-
function ($no, $min, $max, $string) {
22-
// DO Your RegEX Based on Info then push your Error and Return True or False Result (This Callback will be used For Model Validation)
23-
});*/
24-
25-
}
26-
1+
<?php
2+
/** Red Framework
3+
* Validation Rules
4+
* @author RedCoder
5+
* http://redframework.ir
6+
*/
7+
8+
namespace Red\ValidateService;
9+
10+
11+
12+
class Rules
13+
{
14+
public static function rules()
15+
{
16+
17+
/* Example:
18+
Validate::addRule("test", function ($no, $min, $max, $string) {
19+
// DO Your RegEX Based on Info then Return True or False Result (This Callback will be used For Standard Validation)
20+
},
21+
function ($no, $min, $max, $string) {
22+
// DO Your RegEX Based on Info then push your Error and Return True or False Result (This Callback will be used For Model Validation)
23+
});*/
24+
25+
}
26+
2727
}

0 commit comments

Comments
 (0)