Use variable interpolation for maintainer name
Since you already use interpolation for maintainer email you can use it for name too.
This commit is contained in:
parent
f7da01d03a
commit
6a9b7bbf6f
|
@ -109,7 +109,7 @@ class StandardFile
|
|||
public function setMaintainer($maintainer, $email = false)
|
||||
{
|
||||
$email = ($email) ? $email : "---";
|
||||
return $this->_setProperty("Maintainer", $maintainer . " <{$email}>");
|
||||
return $this->_setProperty("Maintainer", "{$maintainer} <{$email}>");
|
||||
}
|
||||
|
||||
public function setConflicts($conflicts)
|
||||
|
|
Loading…
Reference in a new issue