8000 fabbot · symfony/symfony@a3d7e1c · GitHub
[go: up one dir, main page]

Skip to content

Commit a3d7e1c

Browse files
committed
fabbot
1 parent 5ece0b6 commit a3d7e1c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Component/AssetMapper/ImportMap/JavaScriptImport.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class JavaScriptImport
2020
{
2121
/**
2222
* @param string $importName The name of the import needed in the importmap, e.g. "/foo.js" or "react".
23-
* @param bool $isLazy Whether this import was lazy or eager.
23+
* @param bool $isLazy whether this import was lazy or eager
2424
*/
2525
public function __construct(
2626
public string $importName,

src/Symfony/Component/AssetMapper/MappedAsset.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ final class MappedAsset
4444
private array $javaScriptImports = [];
4545

4646
/**
47-
* @param MappedAsset[] $dependencies Assets that the content of this asset depends on.
48-
* @param string[] $fileDependencies Files that the content of this asset depends on.
47+
* @param MappedAsset[] $dependencies assets that the content of this asset depends on
48+
* @param string[] $fileDependencies files that the content of this asset depends on
4949
*/
5050
public function __construct(
5151
public readonly string $logicalPath,
@@ -97,7 +97,7 @@ public function getDependencies(): array
9797
return $this->dependencies;
9898
}
9999

100-
public function addDependency(MappedAsset $asset): void
100+
public function addDependency(self $asset): void
101101
{
102102
$this->dependencies[] = $asset;
103103
}

0 commit comments

Comments
 (0)
0