Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen authored and StyleCIBot committed May 4, 2018
1 parent 31a5cbb commit b842424
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Boucle.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ public function steps(): iterable
{
return $this->steps;
}
}
}
1 change: 0 additions & 1 deletion src/Cli/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Pimple\Psr11\Container as Psr11Container;
use Boucle\Cli\Command;

class Application extends Silly
{
Expand Down
2 changes: 1 addition & 1 deletion src/Config/BoucleParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private function readSteps(array $config): iterable
$start = new Place($config['start'], $this->geocode($config['start']));

foreach ($config['steps'] as $i => $stepConfig) {
$steps[] = $this->buildStep($stepConfig, $i === 0 ? $start : $steps[$i-1]->to());
$steps[] = $this->buildStep($stepConfig, $i === 0 ? $start : $steps[$i - 1]->to());
}

return $steps;
Expand Down
4 changes: 4 additions & 0 deletions src/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
final class Transport extends Enum
{
public const BUS = 'bus';

public const CAR = 'car';

public const PLANE = 'plane';

public const BOAT = 'boat';

public const TRAIN = 'train';

/**
Expand Down

0 comments on commit b842424

Please sign in to comment.