| 1 | <?php |
||
| 12 | class BlockContext extends DrupalSubContextBase { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The Mink context. |
||
| 16 | * |
||
| 17 | * @var MinkContext |
||
| 18 | */ |
||
| 19 | protected $minkContext; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Gathers required contexts. |
||
| 23 | * |
||
| 24 | * @BeforeScenario |
||
| 25 | */ |
||
| 26 | public function gatherContexts() { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Instantiates a specific block plugin in a specific theme. |
||
| 32 | * |
||
| 33 | * @param string $plugin_id |
||
| 34 | * The block plugin ID. |
||
| 35 | * @param string $theme |
||
| 36 | * The theme key. |
||
| 37 | * |
||
| 38 | * @When I instantiate the :plugin_id block in :theme |
||
| 39 | */ |
||
| 40 | public function instantiateBlock($plugin_id, $theme) { |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Deletes a block. |
||
| 55 | * |
||
| 56 | * @param string $id |
||
| 57 | * The block entity ID. |
||
| 58 | */ |
||
| 59 | public function deleteBlock($id) { |
||
| 65 | |||
| 66 | } |
||
| 67 |
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..