diff --git a/src/ArrayDocumentFinder.php b/src/ArrayDocumentFinder.php index 5798403..14a4f01 100644 --- a/src/ArrayDocumentFinder.php +++ b/src/ArrayDocumentFinder.php @@ -5,7 +5,6 @@ namespace RZ\Roadiz\Documents; use Doctrine\Common\Collections\ArrayCollection; -use Doctrine\Common\Collections\Collection; use RZ\Roadiz\Documents\Models\DocumentInterface; /** diff --git a/src/OptionsResolver/UrlOptionsResolver.php b/src/OptionsResolver/UrlOptionsResolver.php index fa3c512..ac34da7 100644 --- a/src/OptionsResolver/UrlOptionsResolver.php +++ b/src/OptionsResolver/UrlOptionsResolver.php @@ -11,8 +11,7 @@ class UrlOptionsResolver extends OptionsResolver { public function __construct() { - $this->setDefaults( - [ + $this->setDefaults([ 'crop' => null, 'fit' => null, 'align' => null, @@ -31,8 +30,7 @@ public function __construct() 'contrast' => 0, 'rotate' => 0, 'ratio' => null, - ] - ); + ]); $this->setAllowedTypes('width', ['int']); $this->setAllowedTypes('height', ['int']); $this->setAllowedTypes('crop', ['null', 'string']);