| 1 | <?php |
||
| 19 | class DeleteBuilder extends AbstractBuilder implements |
||
| 20 | Clause\DeleteClauseInterface, |
||
| 21 | Clause\WhereClauseInterface, |
||
| 22 | Component\JoinComponentInterface, |
||
| 23 | Component\QueryComponentInterface, |
||
| 24 | Component\TableComponentInterface |
||
| 25 | { |
||
| 26 | use Clause\DeleteClauseTrait; |
||
| 27 | use Clause\WhereClauseTrait; |
||
| 28 | use Component\JoinComponentTrait; |
||
| 29 | use Component\ParameterComponentTrait; |
||
| 30 | use Component\QueryComponentTrait; |
||
| 31 | use Component\TableComponentTrait; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param mixed $table |
||
| 35 | * @param string $alias |
||
|
|
|||
| 36 | * |
||
| 37 | * @return AbstractTable |
||
| 38 | */ |
||
| 39 | 2 | public function from($table, $alias = null) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @param mixed $table |
||
| 46 | * @param string $alias |
||
| 47 | * |
||
| 48 | * @return AbstractTable |
||
| 49 | */ |
||
| 50 | 2 | public function addFrom($table, $alias = null) |
|
| 54 | } |
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.