and it worked fine. After composer update we get a fatal error. Basically, CloudConvert->getOutputFormat() suddenly fails.
Took us a while to understand what is going on, because for some of the team members the code worked, for others - not. Turned out that some of us had newer version of your package and for those the fatal error occurred.
Anyway, seems like it all comes down to the change, where this line
Hi,
We've been having problems with
conversionTypes()
method. We used it like this:$types = CloudConvert::input('jpg')->conversionTypes();
and it worked fine. After
composer update
we get a fatal error. Basically,CloudConvert->getOutputFormat()
suddenly fails.Took us a while to understand what is going on, because for some of the team members the code worked, for others - not. Turned out that some of us had newer version of your package and for those the fatal error occurred.
Anyway, seems like it all comes down to the change, where this line
return isset($this->output) ? $this->getOutput()->getFormat() : $this->output_format;
changed to this one:
return !isset($this->output_format) ? $this->getOutput()->getFormat() : $this->output_format;
It's hard at this point to be more specific, but hopefully it's enough for you to take a look at possible problems.