Skip to content

Commit 85fd2d2

Browse files
committed
Apply php-cs-fixer changes
1 parent 747a1d2 commit 85fd2d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TodoByPackageVersionRule.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace staabm\PHPStanTodoBy;
44

5-
use OutOfBoundsException;
65
use Composer\Semver\VersionParser;
6+
use OutOfBoundsException;
77
use PhpParser\Comment;
88
use PhpParser\Node;
99
use PHPStan\Analyser\Scope;
@@ -306,13 +306,13 @@ private function getVersionComparator(string $version): ?string
306306
return $comparator;
307307
}
308308

309-
public function getVersionRanges(string $packageName) : string
309+
public function getVersionRanges(string $packageName): string
310310
{
311311
if (!isset($this->installedVersions['versions'][$packageName])) {
312312
throw new OutOfBoundsException('Package "' . $packageName . '" is not installed');
313313
}
314314

315-
$ranges = array();
315+
$ranges = [];
316316
if (isset($this->installedVersions['versions'][$packageName]['pretty_version'])) {
317317
$ranges[] = $this->installedVersions['versions'][$packageName]['pretty_version'];
318318
}

0 commit comments

Comments
 (0)