Skip to content

Commit

Permalink
Make Validator::getValue() public (#49007)
Browse files Browse the repository at this point in the history
Make the getValue() method of the Validator class have public access.
  • Loading branch information
shinsenter committed Nov 15, 2023
1 parent 15b18bd commit dbda680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Validator.php
Expand Up @@ -1108,7 +1108,7 @@ public function setData(array $data)
* @param string $attribute
* @return mixed
*/
protected function getValue($attribute)
public function getValue($attribute)
{
return Arr::get($this->data, $attribute);
}
Expand Down

0 comments on commit dbda680

Please sign in to comment.