Skip to content

Commit de35bf2

Browse files
committed
formatting
1 parent 6578b7c commit de35bf2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Illuminate/Validation/Concerns/ReplacesAttributes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,15 +629,15 @@ protected function replaceStartsWith($message, $attribute, $rule, $parameters)
629629
}
630630

631631
/**
632-
* Replace all place-holders for the not_starts_with rule.
632+
* Replace all place-holders for the doesnt_start_with rule.
633633
*
634634
* @param string $message
635635
* @param string $attribute
636636
* @param string $rule
637637
* @param array<int,string> $parameters
638638
* @return string
639639
*/
640-
protected function replaceNotStartsWith($message, $attribute, $rule, $parameters)
640+
protected function replaceDoesntStartWith($message, $attribute, $rule, $parameters)
641641
{
642642
foreach ($parameters as &$parameter) {
643643
$parameter = $this->getDisplayableValue($attribute, $parameter);

src/Illuminate/Validation/Concerns/ValidatesAttributes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,14 +1951,14 @@ public function validateStartsWith($attribute, $value, $parameters)
19511951
}
19521952

19531953
/**
1954-
* Validate the attribute not starts with a given substring.
1954+
* Validate the attribute does not start with a given substring.
19551955
*
19561956
* @param string $attribute
19571957
* @param mixed $value
19581958
* @param array<int, int|string> $parameters
19591959
* @return bool
19601960
*/
1961-
public function validateNotStartsWith($attribute, $value, $parameters)
1961+
public function validateDoesntStartWith($attribute, $value, $parameters)
19621962
{
19631963
return ! Str::startsWith($value, $parameters);
19641964
}

0 commit comments

Comments
 (0)