Fix TypeError with 7.4
Fix TypeError with 7.4

TypeError: Argument 1 passed to Gettext\Translations::Gettext\{closure}() must be an instance of Gettext\Translation, array given

From UPGRADINGS
  . Calling get_object_vars() on an ArrayObject instance will now always return
    the properties of the ArrayObject itself (or a subclass). Previously it
    returned the values of the wrapped array/object unless the STD_PROP_LIST
    flag was specified.

oscarotero/Gettext,oscarotero/Gettext