From 374b6d4a60aa0cbc693ff45b42b9ea756d86432b Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 18 Aug 2017 00:00:00 +0200 Subject: [PATCH] NameValueTable: change method signature to not... ...switch context when used fluently --- library/vendor/ipl/Web/Widget/NameValueTable.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/vendor/ipl/Web/Widget/NameValueTable.php b/library/vendor/ipl/Web/Widget/NameValueTable.php index 2891db8d..41d4a2a7 100644 --- a/library/vendor/ipl/Web/Widget/NameValueTable.php +++ b/library/vendor/ipl/Web/Widget/NameValueTable.php @@ -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)