This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
30
*/
31
public function addBundle(ResourceBundleInterface $bundle): self;
32
33
/**
34
* @param string $defaultLocale
35
*
36
* @return array
37
*/
38
public function getStorageData(string $defaultLocale): array;
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.