mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-12 16:58:37 +00:00
remove unnecessary variable declaration
This commit is contained in:
parent
292cd0dbd5
commit
7a873ef1d7
2 changed files with 387 additions and 389 deletions
|
@ -101,8 +101,7 @@
|
||||||
*/
|
*/
|
||||||
public function setDescription($description)
|
public function setDescription($description)
|
||||||
{
|
{
|
||||||
$tag = 'description';
|
$this->setElement('description', $description);
|
||||||
$this->setElement($tag, $description);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -191,10 +191,9 @@ define('JSONP', 3, true);
|
||||||
* @param srting value of 'description' channel tag
|
* @param srting value of 'description' channel tag
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setDescription($desciption)
|
public function setDescription($description)
|
||||||
{
|
{
|
||||||
$tag = 'description';
|
$this->setChannelElement('description', $description);
|
||||||
$this->setChannelElement($tag, $desciption);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue