Skip to content

Commit fadd432

Browse files
committed
Apply codestyle from php-cs-fixer fix --config=.php_cs.dist
1 parent 0b607f7 commit fadd432

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/Asset/EntrypointLookup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getIntegrityData(): array
5050
{
5151
$entriesData = $this->getEntriesData();
5252

53-
if (!array_key_exists('integrity', $entriesData)) {
53+
if (!\array_key_exists('integrity', $entriesData)) {
5454
return [];
5555
}
5656

src/Asset/EntrypointLookupCollectionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface EntrypointLookupCollectionInterface
1616
/**
1717
* Retrieve the EntrypointLookupInterface for the given build.
1818
*
19-
* @throws UndefinedBuildException If the build does not exist.
19+
* @throws UndefinedBuildException if the build does not exist
2020
*/
2121
public function getEntrypointLookup(string $buildName = null): EntrypointLookupInterface;
2222
}

src/Asset/TagRenderer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public function renderWebpackScriptTags(string $entryName, string $packageName =
5050
$integrityHashes = ($entryPointLookup instanceof IntegrityDataProviderInterface) ? $entryPointLookup->getIntegrityData() : [];
5151

5252
foreach ($entryPointLookup->getJavaScriptFiles($entryName) as $filename) {
53-
5453
$attributes = $this->defaultAttributes;
5554
$attributes['src'] = $this->getAssetPath($filename, $packageName);
5655

@@ -74,7 +73,6 @@ public function renderWebpackLinkTags(string $entryName, string $packageName = n
7473
$integrityHashes = ($entryPointLookup instanceof IntegrityDataProviderInterface) ? $entryPointLookup->getIntegrityData() : [];
7574

7675
foreach ($entryPointLookup->getCssFiles($entryName) as $filename) {
77-
7876
$attributes = $this->defaultAttributes;
7977
$attributes['rel'] = 'stylesheet';
8078
$attributes['href'] = $this->getAssetPath($filename, $packageName);

src/DependencyInjection/WebpackEncoreExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function load(array $configs, ContainerBuilder $container)
5454

5555
$defaultAttributes = [];
5656

57-
if (false !== $config['crossorigin']){
57+
if (false !== $config['crossorigin']) {
5858
$defaultAttributes['crossorigin'] = $config['crossorigin'];
5959
}
6060

0 commit comments

Comments
 (0)