8000 [FrameworkBundle][Workflow] fix guard expressions by destillat · Pull Request #28018 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle][Workflow] fix guard expressions #28018

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

Closed
Closed
Prev Previous commit
Next Next commit
[CS] remove docblocks in guard expression class
  • Loading branch information
destillat committed Jul 26, 2018
commit 1ef1e3b8594ffd7ef05fa10b176cc4801cee9c46
20 changes: 1 addition & 19 deletions src/Symfony/Component/Workflow/EventListener/GuardExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,23 @@

class GuardExpression
{

/**
* @var Transition
*/
private $transition;

/**
* @var string
*/
private $expression;

/**
* @return Transition
*/
public function getTransition(): Transition
{
return $this->transition;
}

/**
* @return string
*/
public function getExpression(): string
{
return $this->expression;
}

/**
* GuardConfiguration constructor.
* @param Transition $transition
* @param string $expression
*/
public function __construct(Transition $transition, string $expression)
{
$this->transition = $transition;
$this->expression = $expression;
}
}
}
0