Avoid variables with short names like $e. Configured minimum length is 3.
Short variable names may make your code harder to understand. Variable names should
be self-descriptive. This check looks for variable names who are shorter than
a configured minimum.
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...
42
{
43
if (isset($this->enginesByExtension[$extension]))
44
{
45
return $this->enginesByExtension[$extension];
46
}
47
48
throw new UnsupportedAssetEngineException($extension, 'There is no support to handle this asset type.');
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.