NameValueTable: change method signature to not...

...switch context when used fluently
This commit is contained in:
Thomas Gelf 2017-08-18 00:00:00 +02:00
parent 785802cbd6
commit 374b6d4a60

View File

@ -15,7 +15,8 @@ class NameValueTable extends Table
public function addNameValueRow($name, $value)
{
return $this->body()->add($this->createNameValueRow($name, $value));
$this->body()->add($this->createNameValueRow($name, $value));
return $this;
}
public function addNameValuePairs($pairs)