@@ -1416,7 +1416,7 @@ public function validateMax($attribute, $value, $parameters)
1416
1416
*/
1417
1417
public function validateMaxDigits ($ attribute , $ value , $ parameters )
1418
1418
{
1419
- $ this ->requireParameterCount (1 , $ parameters , 'max ' );
1419
+ $ this ->requireParameterCount (1 , $ parameters , 'max_digits ' );
1420
1420
1421
1421
$ length = strlen ((string ) $ value );
1422
1422
@@ -1518,7 +1518,7 @@ public function validateMin($attribute, $value, $parameters)
1518
1518
*/
1519
1519
public function validateMinDigits ($ attribute , $ value , $ parameters )
1520
1520
{
1521
- $ this ->requireParameterCount (1 , $ parameters , 'min ' );
1521
+ $ this ->requireParameterCount (1 , $ parameters , 'min_digits ' );
1522
1522
1523
1523
$ length = strlen ((string ) $ value );
1524
1524
@@ -1609,7 +1609,7 @@ public function validateMissingWith($attribute, $value, $parameters)
1609
1609
*/
1610
1610
public function validateMissingWithAll ($ attribute , $ value , $ parameters )
1611
1611
{
1612
- $ this ->requireParameterCount (1 , $ parameters , 'missing_with ' );
1612
+ $ this ->requireParameterCount (1 , $ parameters , 'missing_with_all ' );
1613
1613
1614
1614
if (Arr::has ($ this ->data , $ parameters )) {
1615
1615
return $ this ->validateMissing ($ attribute , $ value , $ parameters );
0 commit comments