Skip to content

Commit

Permalink
refactor #15065 [CS][DX] Refactor (github-actions[bot])
Browse files Browse the repository at this point in the history
This PR was merged into the 1.12 branch.

Discussion
----------

This PR has been generated automatically.
For more details see [refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).

Commits
-------
  [CS][DX] Refactor
  • Loading branch information
jakubtobiasz committed May 31, 2023
2 parents c5c77e6 + c2195c4 commit 4154195
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

namespace Sylius\Bundle\CoreBundle\Fixture\OptionsResolver;

use Doctrine\Common\Collections\Collection;
use Sylius\Component\Resource\Repository\RepositoryInterface;
use Symfony\Component\OptionsResolver\Options;
use Webmozart\Assert\Assert;
Expand Down
1 change: 1 addition & 0 deletions src/Sylius/Component/Currency/Model/ExchangeRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function getRatio(): ?float
{
/**
* It looks like Doctrine is hydrating decimal field as string, force casting to float.
*
* @var float|string|null $ratio
*/
$ratio = $this->ratio;
Expand Down

0 comments on commit 4154195

Please sign in to comment.