1 | <?php |
||
9 | class FieldRendererOutlineBox implements FieldRendererInterface |
||
10 | { |
||
11 | /** |
||
12 | * @param ImageManager $imageManager |
||
13 | * @param FieldParserInterface $parser |
||
14 | * @param callable $fontResolver |
||
|
|||
15 | * @param callable $graphicResolver |
||
16 | * @return Intervention\Image\Image |
||
17 | */ |
||
18 | public function render( |
||
39 | |||
40 | /** |
||
41 | * @return FieldRendererInterface |
||
42 | */ |
||
43 | public static function factory() |
||
47 | } |
||
48 |
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.