Add space between if and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace MailPoet\API\JSON;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
class SuccessResponse extends Response {
|
||||
public $data;
|
||||
@ -12,10 +12,10 @@ class SuccessResponse extends Response {
|
||||
}
|
||||
|
||||
function getData() {
|
||||
if($this->data === null) return null;
|
||||
if ($this->data === null) return null;
|
||||
|
||||
return array(
|
||||
'data' => $this->data
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user