Skip to content

Commit 33f9d9e

Browse files
committed
Code style cleanup #2
1 parent b6f09b3 commit 33f9d9e

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
"php-cs-src": "vendor/bin/phpcs --standard=PSR2 src/",
5050
"php-cs-test": "vendor/bin/phpcs --standard=PSR2 tests/",
51-
"phpstan-src": "vendor/bin/phpstan analyze --level=max src/",
52-
"phpstan-test": "vendor/bin/phpstan analyze tests/ --level=4 -c phpstan.neon"
51+
"phpstan-src": "vendor/bin/phpstan analyze --no-progress --level=max src/",
52+
"phpstan-test": "vendor/bin/phpstan analyze tests/ --no-progress --level=4 -c phpstan.neon"
5353
}
5454
}

src/Template/PathResolver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ class PathResolver implements PathResolverInterface
99
{
1010
public function __invoke(ScopeInterface $scope): string
1111
{
12-
1312
}
14-
}
13+
}

src/Template/PathResolverInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ interface PathResolverInterface
2020
* @return string
2121
*/
2222
public function __invoke(ScopeInterface $scope): string;
23-
}
23+
}

src/Unit/AbstractUnit.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ public static function byType(
4242
string $type,
4343
string $name,
4444
CommandDispatcherInterface $commandDispatcher
45-
): AbstractUnit
46-
{
45+
): AbstractUnit {
4746
$class = __NAMESPACE__ . '\\' . ucfirst($type);
4847
return new $class($name, $commandDispatcher);
4948
}

0 commit comments

Comments
 (0)