Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workflow] Added parameter typhint where possible #32223

Merged
merged 1 commit into from
Jul 5, 2019

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Jun 27, 2019

Q A
Branch? mas
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? ye
Fixed tickets partially #32179
License MIT
Doc PR

@lyrixx
Copy link
Member Author

lyrixx commented Jul 4, 2019

Are you OK with this one? cc @derrabus

* @param Definition $definition A Definition instance
* @param Marking|null $marking A Marking instance
* @param array $options An array of options
*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be done on a lower branch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's minimize the changes that don't add value to the code. Keeping that in lower branches is fine by me.

@@ -27,9 +28,9 @@ class GuardEvent extends Event
/**
* {@inheritdoc}
*/
public function __construct($subject, Marking $marking, Transition $transition, $workflowName = null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The $workflowName => WorkflowInterface $workflow = null change should be done on a lower branch.

@fabpot
Copy link
Member

fabpot commented Jul 5, 2019

Thank you @lyrixx.

@fabpot fabpot merged commit 62e615b into symfony:master Jul 5, 2019
fabpot added a commit that referenced this pull request Jul 5, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[Workflow] Added parameter typhint where possible

| Q             | A
| ------------- | ---
| Branch?       | mas
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | ye
| Fixed tickets | partially #32179
| License       | MIT
| Doc PR        |

Commits
-------

62e615b [Workflow] Added parameter typhint where possible
@lyrixx lyrixx deleted the workflow-typehint branch July 5, 2019 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants