fix typo
This commit is contained in:
parent
44c27053cb
commit
79d1958e9b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue