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...
29
*/
30
3
public function getCellWidth($value, $fontSize)
31
{
32
3
$width = 1;
33
3
foreach ($this->getSingleCharacterArray($value) as $character) {
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.