Skip to content

Commit

Permalink
reneame variables
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Jun 28, 2020
1 parent 97e16e6 commit 91afbe0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Validation/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function parseData(array $data)
*/
public function replacePlaceholders($data)
{
$newData = [];
$originalData = [];

foreach ($data as $key => $value) {
if (is_array($value)) {
Expand All @@ -324,10 +324,10 @@ public function replacePlaceholders($data)
$key
);

$newData[$key] = $value;
$originalData[$key] = $value;
}

return $newData;
return $originalData;
}

/**
Expand Down

0 comments on commit 91afbe0

Please sign in to comment.