ZF2-216: ArrayStorage::setMetadata unreachable code
Description
Take a look at 3rd if block:
if (isset($this['__ZF'][$key]) && is_array($value)) { if ($overwriteArray) { $this['__ZF'][$key] = $value; } elseif (null === $value) { // We should note that $value is array and cannot be null ..... ..... } } else { ..... ..... }
Comments
Posted by Maks 3w (maks3w) on 2012-06-06T12:20:10.000+0000
Thank you Dimitar
Fixed in https://github.com/zendframework/zf2/pull/1452