Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Maz committed Oct 7, 2024
1 parent a9a3328 commit d4c93db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MultipartStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function addElement(AppendStream $stream, array $element): void
}

if (is_array($element['contents'])) {
$prepare = function ($contents, $key, $root = null) use ($stream, &$values, &$prepare) {
$prepare = function ($contents, $key, $root = null) use ($stream, &$prepare) {
$fieldName = $root ? sprintf('%s[%s]', $root, $key) : $key;

if (is_array($contents)) {
Expand Down

0 comments on commit d4c93db

Please sign in to comment.