Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Apr 3, 2023
1 parent 090dea6 commit 0007aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ToolboxBundle/Builder/BrickConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@ private function checkColumnAdjusterField(string $brickId, ?string $tab, array $
private function buildStore($type, $config): array
{
$storeValues = [];
if (isset($config['store']) && !is_null($config['store'])) {
if (isset($config['store'])) {
$storeValues = $config['store'];
} elseif (isset($config['store_provider']) && !is_null($config['store_provider'])) {
} elseif (isset($config['store_provider'])) {
$storeProvider = $this->storeProvider->get($config['store_provider']);
$storeValues = $storeProvider->getValues();
}
Expand Down

0 comments on commit 0007aeb

Please sign in to comment.