File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 11composer.phar
22vendor /
3-
4- # Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
5- # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
6- # composer.lock
3+ composer.lock
Original file line number Diff line number Diff line change 11composer.phar
22vendor /
3-
4- # Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
5- # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
6- # composer.lock
3+ composer.lock
Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ public function __construct()
1111 $ this ->builder = $ this ->buildBuilder ();
1212 }
1313
14- public function valueValidator ($ callback = null )
14+ public function validator ($ callback = null )
1515 {
1616 $ rule = $ this ->rules ()->value ();
1717 if ($ callback !== null ) {
1818 $ callback ($ rule );
1919 }
20- return $ this ->validator ($ rule );
20+ return $ this ->buildValidator ($ rule );
2121 }
2222
23- public function validator ($ rule )
23+ public function buildValidator ($ rule )
2424 {
2525 return $ this ->builder ->validator ($ rule );
2626 }
You can’t perform that action at this time.
0 commit comments