mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
set value key
This commit is contained in:
parent
5b51214765
commit
f363eeef66
@ -23,7 +23,7 @@ final class Areas
|
||||
public function __construct(array $properties)
|
||||
{
|
||||
if (!array_key_exists('value', $properties) || !is_array($properties['value'])) {
|
||||
$properties = array_values($properties);
|
||||
$properties['value'] = array_values($properties);
|
||||
}
|
||||
|
||||
if ([] === $properties) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user