fix PHPCS issues
This commit is contained in:
parent
5478be1355
commit
2cacd374dc
2 changed files with 4 additions and 3 deletions
|
@ -524,7 +524,10 @@ class Activity_Object {
|
|||
$this->$key = array();
|
||||
}
|
||||
|
||||
$this->$key[] = $value;
|
||||
$attributes = $this->$key;
|
||||
$attributes[] = $value;
|
||||
|
||||
$this->$key = $attributes;
|
||||
|
||||
return $this->$key;
|
||||
}
|
||||
|
|
|
@ -76,9 +76,7 @@ class Followers {
|
|||
self::POST_TYPE,
|
||||
'icon',
|
||||
array(
|
||||
//'type' => 'string',
|
||||
'single' => true,
|
||||
//'sanitize_callback' => array( self::class, 'sanitize_url' ),
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue