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.
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...
25
{
26
2
foreach ($this->exporters as $exporter) {
27
2
if ($exporter->supports($extension)) {
28
1
return $exporter;
29
}
30
}
31
32
1
throw new \Exception(sprintf('No %s file exporter found or defined.', $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.