mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-02 21:36:14 +03:00
set value key
This commit is contained in:
parent
5b51214765
commit
f363eeef66
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue