Skip to content

Commit

Permalink
Removed unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdlee committed Nov 10, 2019
1 parent 638f50a commit ed40f0c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Controller/ConsoleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ public function resizeImageAction()
$width = (int) $this->params()->fromRoute('width', 100);
/** @var int $height */
$height = (int) $this->params()->fromRoute('height', 100);
/** @var string $modus */
$modus = $this->params()->fromRoute('modus', Image::ONLY_RESIZE_MODUS);
/** @var string $cropModus */
$cropModus = $this->params()->fromRoute('crop-modus', Image::CENTERED_CROP);
/** @var int $x */
$x = (int) $this->params()->fromRoute('x', 0);
/** @var int $y */
$y = (int) $this->params()->fromRoute('y', 0);

try {
$this->getImageResizerService()->resizeImage($image, $width, $height);
Expand Down

0 comments on commit ed40f0c

Please sign in to comment.