mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
Merge pull request #609 from wallabag/fix-desciption-typo
remove unnecessary variable declaration
This commit is contained in:
commit
9cb9ab552b
2 changed files with 387 additions and 389 deletions
|
@ -101,8 +101,7 @@
|
|||
*/
|
||||
public function setDescription($description)
|
||||
{
|
||||
$tag = 'description';
|
||||
$this->setElement($tag, $description);
|
||||
$this->setElement('description', $description);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -191,10 +191,9 @@ define('JSONP', 3, true);
|
|||
* @param srting value of 'description' channel tag
|
||||
* @return void
|
||||
*/
|
||||
public function setDescription($desciption)
|
||||
public function setDescription($description)
|
||||
{
|
||||
$tag = 'description';
|
||||
$this->setChannelElement($tag, $desciption);
|
||||
$this->setChannelElement('description', $description);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue