Skip to content

Commit

Permalink
Tabs instead of spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Oct 15, 2018
1 parent 29ad505 commit 4552016
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/src/WebAsset/WebAssetRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function getActiveAssets(): array
$this->assets,
function($asset)
{
/** @var WebAssetItem $asset */
/** @var WebAssetItem $asset */
return $asset->isActive();
}
);
Expand All @@ -187,8 +187,8 @@ public function getAssetsByState(int $state = WebAssetItem::ASSET_STATE_ACTIVE):
$this->assets,
function($asset) use ($state)
{
/** @var WebAssetItem $asset */
return $asset->getState() === $state;
/** @var WebAssetItem $asset */
return $asset->getState() === $state;
}
);

Expand Down Expand Up @@ -490,8 +490,8 @@ protected function sortByWeight(array $assets): array
$assets,
function($a, $b)
{
/** @var WebAssetItem $a */
/** @var WebAssetItem $b */
/** @var WebAssetItem $a */
/** @var WebAssetItem $b */
if ($a->getWeight() === $b->getWeight())
{
return 0;
Expand Down

0 comments on commit 4552016

Please sign in to comment.