Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.

Commit 204b713

Browse files
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
1 parent 21ed3fa commit 204b713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GraphWalker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct($settings = [])
4040
$this->settings = Configuration::mergeConfigs(self::$defaultSettings, $settings);
4141

4242
$this->algorithmClass = $this->settings['graphwalker']['algorithm'];
43-
if($this->algorithmClass == '' ) {
43+
if ($this->algorithmClass == '') {
4444
throw new ModuleConfigException(__CLASS__, 'Configuration setting "algorithm" is missing');
4545
}
4646

@@ -63,7 +63,7 @@ public function loadTests($filename)
6363
}
6464
$path = $algorithm->getWalkTo($this->graph->getVertices()->getVertexLast())->getGraph();
6565
$steps = $path->getVertices();
66-
foreach($steps as $step) {
66+
foreach ($steps as $step) {
6767
$file = $this->path . $step->getAttribute('labels')[0];
6868
$this->loader->loadTest($file);
6969
}

0 commit comments

Comments
 (0)