| 1 | <?php |
||
| 19 | class PrivacyPolicy extends Agreement |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Everything starts here. |
||
| 23 | * |
||
| 24 | * @param string $language the wanted language of the agreement. |
||
| 25 | * @param string $backup_dir where to store the backup of the privacy policy. |
||
|
|
|||
| 26 | */ |
||
| 27 | public function __construct($language, $backup_dir = null) |
||
| 35 | } |
This check looks for
@paramannotations 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.