Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmasiukevich committed Apr 11, 2019
1 parent c3561cc commit c4894b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Contract/SagaStatusChanged.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ public static function create(
$sagaId->toString(),
\get_class($sagaId),
$sagaId->sagaClass,
$currentStatus->toString(),
$newStatus->toString(),
$currentStatus->toString(),
$newStatus->toString(),
$withReason,
new \DateTimeImmutable('NOW')
);
Expand Down
2 changes: 1 addition & 1 deletion src/SagaStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ final class SagaStatus
*/
public static function create(string $value): self
{
if(false === \in_array($value, self::LIST, true))
if (false === \in_array($value, self::LIST, true))
{
throw InvalidSagaStatus::create($value);
}
Expand Down

0 comments on commit c4894b2

Please sign in to comment.