The return type could not be reliably inferred; please add a @return annotation.
Our type inference engine in quite powerful, but sometimes the code does not
provide enough clues to go by. In these cases we request you to add a @return
annotation as described here.
Loading history...
38
{
39
7
if (isset($this->transformers[$extension]))
40
{
41
6
return $this->transformers[$extension];
42
}
43
44
1
throw new UnsupportedDataTypeException($extension, 'There is no support to handle this file extension.');
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.