From b99b837b4bbb4e8855ee5ee7a858edeb9a922153 Mon Sep 17 00:00:00 2001 From: Dave MacFarlane Date: Tue, 23 Jan 2024 12:06:43 -0500 Subject: [PATCH] phpcs, review comment --- modules/my_preferences/php/userpreferencewidget.class.inc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/my_preferences/php/userpreferencewidget.class.inc b/modules/my_preferences/php/userpreferencewidget.class.inc index 92e986479aa..b5c8316d738 100644 --- a/modules/my_preferences/php/userpreferencewidget.class.inc +++ b/modules/my_preferences/php/userpreferencewidget.class.inc @@ -20,22 +20,20 @@ class UserPreferenceWidget implements \LORIS\GUI\Widget * @param string $componentname The React component name for this widget. * @param array $props Additional React props to pass to the React * component. - * @param ?int $width The width in the CSS grid. - * @param ?int $height The height in the CSS grid. - * @param ?int $order The order in the CSS grid. */ public function __construct( public string $title, public string $jsurl, public string $componentname, public array $props, - ) { } + ) { + } /** * Renders the widget within a preference panel and implements * the \LORIS\GUI\Widget interface. * - * @return string the HTML content of the widget to be rendered + * @return string the URL to the javascript which contains the React component */ public function __toString() {