And yes you are right, just confirmed it only shows a warning.
Back to checking with this?
``if (is_array($value) || is_object($value) && !method_exists($value, '_toString')) {``