Add rule for concatenation operator spacing
[MAILPOET-2090]
This commit is contained in:
@ -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();
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user