Skip to content

Commit

Permalink
Apply coding standard changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon authored and github-actions[bot] committed Dec 20, 2022
1 parent 6ba1e3d commit dba320d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Asset/EntrypointLookupCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(EntryLookupFactoryInterface $entryLookupFactory, str

public function getEntrypointLookup(string $buildName = null): EntrypointLookupInterface
{
if ($this->buildEntrypoints === null) {
if (null === $this->buildEntrypoints) {
$this->buildEntrypoints = $this->entryLookupFactory->getCollection();
}
if (null === $buildName) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/Integration/AssetRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function getRegisteredFiles(): array

public function getDefaultAttributes(): array
{
if (count($this->defaultAttributes) === 0) {
if (0 === count($this->defaultAttributes)) {
$this->defaultAttributes['crossorigin'] = $this->settingsService->getStringByPath('preload.crossorigin');
}
return $this->defaultAttributes;
Expand Down

0 comments on commit dba320d

Please sign in to comment.