1 | <?php |
||
10 | class FieldRendererBarcode implements FieldRendererInterface |
||
11 | { |
||
12 | const FONT_SIZE_MULTIPLIER = 7; |
||
13 | |||
14 | /** |
||
15 | * @param ImageManager $imageManager |
||
16 | * @param FieldParserInterface $parser |
||
17 | * @param callable $fontResolver |
||
|
|||
18 | * @param callable $graphicResolver |
||
19 | * @return Intervention\Image\Image |
||
20 | */ |
||
21 | 1 | public function render( |
|
42 | |||
43 | /** |
||
44 | * @return FieldParserInterface |
||
45 | */ |
||
46 | 1 | public static function factory() |
|
50 | } |
||
51 |
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.