Skip to content

Commit d79c2bd

Browse files
authored
Apply fixes from StyleCI (#6)
1 parent bfcd98d commit d79c2bd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/Fixture/FakeComposerLocator.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class FakeComposerLocator extends \ComposerLocator
1313
public static function getPath($name)
1414
{
1515
$name = strtolower($name);
16-
if (! isset(self::$paths[$name])) {
16+
if (!isset(self::$paths[$name])) {
1717
throw new RuntimeException("Composer package not found: {$name}");
1818
}
19-
return self::getRootPath() . self::$paths[$name];
19+
20+
return self::getRootPath().self::$paths[$name];
2021
}
2122

2223
public static function getRootPath()
@@ -39,7 +40,7 @@ public static function getPaths()
3940
$paths = [];
4041

4142
foreach (self::$paths as $name => $path) {
42-
$paths[$name] = self::getRootPath() . $path;
43+
$paths[$name] = self::getRootPath().$path;
4344
}
4445

4546
return $paths;

0 commit comments

Comments
 (0)