Fix code style by updated ruleset
[MAILPOET-3912]
This commit is contained in:
@@ -175,7 +175,8 @@ class API {
|
||||
|
||||
public function processRoute() {
|
||||
try {
|
||||
if (empty($this->requestEndpointClass) ||
|
||||
if (
|
||||
empty($this->requestEndpointClass) ||
|
||||
!$this->container->has($this->requestEndpointClass)
|
||||
) {
|
||||
throw new \Exception(__('Invalid API endpoint.', 'mailpoet'));
|
||||
|
Reference in New Issue
Block a user