Unverified Commit 9a161f42 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3105288 by Hardik_Patel_12, snehalgaikwad: Expected type hint...

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

(cherry picked from commit 19da60cf)
parent bb8501bc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.
+2 −2
Original line number Diff line number Diff line
@@ -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.