From c2ea16d195d860f88b012753be7e80c497cb4ece Mon Sep 17 00:00:00 2001 From: Connor Date: Thu, 21 Mar 2024 09:50:01 +0100 Subject: [PATCH] [widget] fix return statement missing (#349) --- lib/widget/sfWidgetFormChoice.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/widget/sfWidgetFormChoice.class.php b/lib/widget/sfWidgetFormChoice.class.php index dc83904a4..ca698f109 100644 --- a/lib/widget/sfWidgetFormChoice.class.php +++ b/lib/widget/sfWidgetFormChoice.class.php @@ -26,6 +26,8 @@ class sfWidgetFormChoice extends sfWidgetFormChoiceBase public function setIdFormat($format) { $this->options['renderer_options']['id_format'] = $format; + + return $this; } /**