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

Skip to content

Commit f0113f3

Browse files
committed
fabbot
1 parent e021252 commit f0113f3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Symfony/Component/AssetMapper/AssetDependency.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
final class AssetDependency
2020
{
2121
/**
22-
* @param bool $isLazy Whether the dependent asset will need to be loaded eagerly
23-
* by the parent asset (e.g. a CSS file that imports another
24-
* CSS file) or if it will be loaded lazily (e.g. an async
25-
* JavaScript import).
22+
* @param bool $isLazy Whether the dependent asset will need to be loaded eagerly
23+
* by the parent asset (e.g. a CSS file that imports another
24+
* CSS file) or if it will be loaded lazily (e.g. an async
25+
* JavaScript import).
2626
* @param bool $isContentDependency Whether the parent asset's content depends
27-
* on the child asset's content - e.g. if a CSS
28-
* file imports another CSS file, then the parent's
29-
* content depends on the child CSS asset, because
30-
* the child's digested filename will be included.
27+
* on the child asset's content - e.g. if a CSS
28+
* file imports another CSS file, then the parent's
29+
* content depends on the child CSS asset, because
30+
* the child's digested filename will be included.
3131
*/
3232
public function __construct(
3333
public readonly MappedAsset $asset,

src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testCompile(string $sourceLogicalName, string $input, array $exp
3434
$actualDependencies[$dependency->asset->getLogicalPath()] = $dependency->isLazy;
3535
}
3636
$this->assertEquals($expectedDependencies, $actualDependencies);
37-
if (count($expectedDependencies) > 0) {
37+
if (\count($expectedDependencies) > 0) {
3838
$this->assertFalse($asset->getDependencies()[0]->isContentDependency);
3939
}
4040
}

0 commit comments

Comments
 (0)
0