Skip to content

Commit 19b0763

Browse files
author
Tobias Wojtylak
committed
fixed coding styles
1 parent 2b6dabb commit 19b0763

4 files changed

Lines changed: 9 additions & 17 deletions

File tree

src/Controller/DefaultStepController.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public function redirectToPreviousStep(int $statusCode = 302): RedirectResponse
8383
return $this->redirectToStep($this->getPreviousStep(), $statusCode);
8484
}
8585

86-
87-
protected function redirectToStep(MultiStepInterface $step, int $statusCode)
86+
protected function redirectToStep(MultiStepInterface $step, int $statusCode): RedirectResponse
8887
{
8988
if (null === $step) {
9089
throw new NoNextOrPreviousStepException();
@@ -140,7 +139,6 @@ public function getNextStepLink(): ?string
140139
return $this->hasNextStep() ? $this->router->generateStepLink($this->getNextStep()) : null;
141140
}
142141

143-
144142
public function getPreviousStepLink(): ?string
145143
{
146144
return $this->hasPreviousStep() ? $this->router->generateStepLink($this->getPreviousStep()) : null;

src/Controller/MultiStepController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public function stepAction(Request $request, string $flow_slug, string $step_slu
8484
$controller->setFlow($flow);
8585
}
8686

87-
8887
return call_user_func_array($callableController, $arguments);
8988
}
9089

src/Factory/MultistepRouterFactory.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
<?php
22
declare(strict_types=1);
33

4-
/**
5-
* Created by solutionDrive GmbH.
4+
/*
5+
* Created by solutionDrive GmbH
66
*
7-
* @author: Tobias Wojtylak <tw@solutiondrive.de>
8-
* @date: 22.03.18
9-
* @time: 11:22
10-
* @copyright: 2018 solutionDrive GmbH
7+
* @copyright 2018 solutionDrive GmbH
118
*/
129

1310
namespace solutionDrive\MultiStepBundle\Factory;

src/Factory/MultistepRouterFactoryInterface.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
<?php
2-
/**
3-
* Created by solutionDrive GmbH.
1+
<?php declare(strict_types=1);
2+
3+
/*
4+
* Created by solutionDrive GmbH
45
*
5-
* @author: Tobias Wojtylak <tw@solutiondrive.de>
6-
* @date: 22.03.18
7-
* @time: 11:25
8-
* @copyright: 2018 solutionDrive GmbH
6+
* @copyright 2018 solutionDrive GmbH
97
*/
108

119
namespace solutionDrive\MultiStepBundle\Factory;

0 commit comments

Comments
 (0)