Skip to content

Commit

Permalink
Remove useless semicolons
Browse files Browse the repository at this point in the history
These ones were not found via the `no_empty_statement` from `php-cs-fixer`.
  • Loading branch information
carusogabriel committed Oct 5, 2019
1 parent d574dce commit 1ac83c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
$productRepository->save($product);
} catch (\Exception $e) {
// problems during save
};
}

/** @var ProductInterface $product */
$product = $objectManager->create(ProductInterface::class);
Expand All @@ -60,4 +60,4 @@
$productRepository->save($product);
} catch (\Exception $e) {
// problems during save
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
$item->setQty(1);
$address->setTotalQty(1);
$address->addItem($item);
};
}
}

$billingAddressData = [
Expand Down
6 changes: 3 additions & 3 deletions lib/internal/Magento/Framework/Lock/Backend/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function lock(string $name, int $timeout = -1): bool
{
if (!$this->deploymentConfig->isDbAvailable()) {
return true;
};
}
$name = $this->addPrefix($name);

/**
Expand Down Expand Up @@ -117,7 +117,7 @@ public function unlock(string $name): bool
{
if (!$this->deploymentConfig->isDbAvailable()) {
return true;
};
}

$name = $this->addPrefix($name);

Expand Down Expand Up @@ -145,7 +145,7 @@ public function isLocked(string $name): bool
{
if (!$this->deploymentConfig->isDbAvailable()) {
return false;
};
}

$name = $this->addPrefix($name);

Expand Down

0 comments on commit 1ac83c0

Please sign in to comment.