Add rule for concatenation operator spacing

[MAILPOET-2090]
This commit is contained in:
Pavel Dohnal
2019-05-20 14:12:31 +02:00
committed by M. Shull
parent 12ff88ee21
commit 5d64ec168d
61 changed files with 273 additions and 267 deletions

View File

@ -33,7 +33,7 @@ abstract class Response {
}
if (!empty($response)) {
@header('Content-Type: application/json; charset='.get_option('blog_charset'));
@header('Content-Type: application/json; charset=' . get_option('blog_charset'));
echo WPFunctions::get()->wpJsonEncode($response);
}
die();

View File

@ -55,7 +55,7 @@ class Segments extends APIEndpoint {
$data = [];
foreach ($listing_data['items'] as $segment) {
$segment->subscribers_url = WPFunctions::get()->adminUrl(
'admin.php?page=mailpoet-subscribers#/filter[segment='.$segment->id.']'
'admin.php?page=mailpoet-subscribers#/filter[segment=' . $segment->id . ']'
);
$data[] = $segment