This commit is contained in:
Simon Vieille 2020-11-20 16:13:45 +01:00
parent 44c27053cb
commit 79d1958e9b
Signed by: deblan
GPG key ID: 03383D15A1D31745
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ class PrinterController extends Controller
return new JSONResponse($notAllowed);
}
if (!$this->printer->isValidOrirentation($orientation)) {
if (!$this->printer->isValidOrientation($orientation)) {
return new JSONResponse($error);
}

View file

@ -34,7 +34,7 @@ class Printer
/**
* Validates an orientation.
*/
public function isValidOrirentation(string $orientation): bool
public function isValidOrientation(string $orientation): bool
{
return in_array($orientation, [
'landscape',