zendframework/zf2 — pull request #6036 by ThaDafinser (2014-03-25 08:40:33+00:00)
Title: Convert only if exactly one

I copied this function out for another use and i had there some entries, where the value was "array" without any values.

This generates warnings, since `$value[0]` is then not accessible