Issue #3105288 by Hardik_Patel_12, snehalgaikwad: Expected type hint "WorkflowInterface"; found "WorkflowTypeInterface"

(cherry picked from commit 19da60cf0f)
merge-requests/64/head
Alex Pott 2020-01-22 10:47:19 +00:00
parent 14aca8012f
commit 8ffdade27c
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.