Fix spaces in assignments

[MAILPOET-3912]
This commit is contained in:
Jan Lysý
2022-01-03 15:55:20 +01:00
committed by Veljko V
parent 3bc84fbaf1
commit d99c7adf06
10 changed files with 26 additions and 26 deletions

View File

@@ -99,7 +99,7 @@ class Forms extends APIEndpoint {
if (!$status) {
return $this->badRequest([
APIError::BAD_REQUEST => __('You need to specify a status.', 'mailpoet'),
APIError::BAD_REQUEST => __('You need to specify a status.', 'mailpoet'),
]);
}
@@ -114,7 +114,7 @@ class Forms extends APIEndpoint {
if (!in_array($status, [FormEntity::STATUS_ENABLED, FormEntity::STATUS_DISABLED])) {
return $this->badRequest([
APIError::BAD_REQUEST =>
APIError::BAD_REQUEST =>
sprintf(
__('Invalid status. Allowed values are (%1$s), you specified %2$s', 'mailpoet'),
join(', ', [FormEntity::STATUS_ENABLED, FormEntity::STATUS_DISABLED]),