Skip to content

Commit 0ee9d82

Browse files
kalessilfabpot
authored andcommitted
SCA with Php Inspections (EA Extended): 2.7
1 parent 0701025 commit 0ee9d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Templating/Helper/AssetsHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function getVersion($path = null, $packageName = null)
7878

7979
// packageName is null and path not, so path is a path or a packageName
8080
try {
81-
$package = $this->packages->getPackage($path);
81+
$this->packages->getPackage($path);
8282
} catch (\InvalidArgumentException $e) {
8383
// path is not a package, so it should be a path
8484
return $this->packages->getVersion($path);

0 commit comments

Comments
 (0)