Skip to content

Commit 91afbe0

Browse files
committed
reneame variables
1 parent 97e16e6 commit 91afbe0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Validation/Validator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function parseData(array $data)
311311
*/
312312
public function replacePlaceholders($data)
313313
{
314-
$newData = [];
314+
$originalData = [];
315315

316316
foreach ($data as $key => $value) {
317317
if (is_array($value)) {
@@ -324,10 +324,10 @@ public function replacePlaceholders($data)
324324
$key
325325
);
326326

327-
$newData[$key] = $value;
327+
$originalData[$key] = $value;
328328
}
329329

330-
return $newData;
330+
return $originalData;
331331
}
332332

333333
/**

0 commit comments

Comments
 (0)