Issue #3105288 by Hardik_Patel_12, snehalgaikwad: Expected type hint "WorkflowInterface"; found "WorkflowTypeInterface"
(cherry picked from commit 19da60cf0f
)
merge-requests/64/head
parent
14aca8012f
commit
8ffdade27c
|
@ -10,7 +10,7 @@ class State implements StateInterface {
|
|||
/**
|
||||
* The workflow the state is attached to.
|
||||
*
|
||||
* @var \Drupal\workflows\WorkflowInterface
|
||||
* @var \Drupal\workflows\WorkflowTypeInterface
|
||||
*/
|
||||
protected $workflow;
|
||||
|
||||
|
@ -38,7 +38,7 @@ class State implements StateInterface {
|
|||
/**
|
||||
* State constructor.
|
||||
*
|
||||
* @param \Drupal\workflows\WorkflowInterface $workflow
|
||||
* @param \Drupal\workflows\WorkflowTypeInterface $workflow
|
||||
* The workflow the state is attached to.
|
||||
* @param string $id
|
||||
* The state's ID.
|
||||
|
|
|
@ -10,7 +10,7 @@ class Transition implements TransitionInterface {
|
|||
/**
|
||||
* The workflow that this transition is attached to.
|
||||
*
|
||||
* @var \Drupal\workflows\WorkflowInterface
|
||||
* @var \Drupal\workflows\WorkflowTypeInterface
|
||||
*/
|
||||
protected $workflow;
|
||||
|
||||
|
@ -52,7 +52,7 @@ class Transition implements TransitionInterface {
|
|||
/**
|
||||
* Transition constructor.
|
||||
*
|
||||
* @param \Drupal\workflows\WorkflowInterface $workflow
|
||||
* @param \Drupal\workflows\WorkflowTypeInterface $workflow
|
||||
* The workflow the state is attached to.
|
||||
* @param string $id
|
||||
* The transition's ID.
|
||||
|
|
Loading…
Reference in New Issue