| 1 | <?php |
||
| 22 | class AllParametersShaComposer implements ShaComposer |
||
| 23 | { |
||
| 24 | /** @var array of ParameterFilter */ |
||
| 25 | private $parameterFilters; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string Passphrase |
||
| 29 | */ |
||
| 30 | private $passphrase; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var HashAlgorithm |
||
| 34 | */ |
||
| 35 | private $hashAlgorithm; |
||
| 36 | |||
| 37 | 6 | public function __construct(Passphrase $passphrase, HashAlgorithm $hashAlgorithm = null) |
|
| 45 | |||
| 46 | 6 | public function compose(array $parameters) |
|
| 62 | |||
| 63 | 6 | public function addParameterFilter(ParameterFilter $parameterFilter) |
|
| 67 | } |
||
| 68 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..