| 1 | <?php |
||
| 12 | class MagerunBootstrap |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param ClassLoader $loader |
||
|
|
|||
| 16 | * @return Magento\Application |
||
| 17 | * @throws ErrorException |
||
| 18 | */ |
||
| 19 | public static function createApplication(ClassLoader $loader = null) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @throws ErrorException |
||
| 32 | * @return ClassLoader |
||
| 33 | */ |
||
| 34 | public static function getLoader() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param $file |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | public static function includeIfExists($file) |
||
| 60 | } |
||
| 61 |
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.