Skip to content

Commit

Permalink
🗑️ Resolve deprecated warning.
Browse files Browse the repository at this point in the history
```
Deprecated: Using ${var} in strings is deprecated, use {$var} instead
```
  • Loading branch information
gongo committed May 14, 2024
1 parent 8394e91 commit 17e6fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private function injectFileToGlobal()
if ($key === 'tmp_name') {
$name = $field;
} else {
$name = "${field}_${key}";
$name = "{$field}_{$key}";
}
$values[$name] = $value;
}
Expand Down

0 comments on commit 17e6fb7

Please sign in to comment.