We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e16e6 commit 91afbe0Copy full SHA for 91afbe0
src/Illuminate/Validation/Validator.php
@@ -311,7 +311,7 @@ public function parseData(array $data)
311
*/
312
public function replacePlaceholders($data)
313
{
314
- $newData = [];
+ $originalData = [];
315
316
foreach ($data as $key => $value) {
317
if (is_array($value)) {
@@ -324,10 +324,10 @@ public function replacePlaceholders($data)
324
$key
325
);
326
327
- $newData[$key] = $value;
+ $originalData[$key] = $value;
328
}
329
330
- return $newData;
+ return $originalData;
331
332
333
/**
0 commit comments