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 = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->$key[] = $value;
|
$attributes = $this->$key;
|
||||||
|
$attributes[] = $value;
|
||||||
|
|
||||||
|
$this->$key = $attributes;
|
||||||
|
|
||||||
return $this->$key;
|
return $this->$key;
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,9 +76,7 @@ class Followers {
|
||||||
self::POST_TYPE,
|
self::POST_TYPE,
|
||||||
'icon',
|
'icon',
|
||||||
array(
|
array(
|
||||||
//'type' => 'string',
|
|
||||||
'single' => true,
|
'single' => true,
|
||||||
//'sanitize_callback' => array( self::class, 'sanitize_url' ),
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue