Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
fix a space
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman committed Jul 11, 2017
1 parent 9a23951 commit 8796454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestDataTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function transform(array $data, $onUnexpectedVar = 'skip')
$transformedData = [];
foreach ($data as $name => $value) {
// Handle values not listed in the schema
if (!array_key_exists($name,$schemaFields)) {
if (!array_key_exists($name, $schemaFields)) {
switch ($onUnexpectedVar) {
case 'allow' : $transformedData[$name] = $value; break;
case 'error' :
Expand Down

0 comments on commit 8796454

Please sign in to comment.