Add getter for json and list data

This commit is contained in:
Dennis Eichhorn 2018-09-15 14:34:37 +02:00
parent aaf7c71628
commit a4f0d7c13b

View File

@ -214,7 +214,11 @@ abstract class RequestAbstract implements MessageInterface
$list = \explode($delim, $this->data[$key]);
return $list === false ? [] : \trim($list);
foreach ($list as $i => $e) {
$list[$i] = \trim($e);
}
return $list === false ? [] : $list;
}
/**