PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/helpers/widgets/sticky_notes.php +3 -3 1.7.2 → 1.8.16 View file →
@@ -262,9 +262,9 @@
262 262 JText::script('VBO_STICKYN_CUSTOMURI');
263 263 JText::script('VBO_WIDGETS_CONFRMELEM');
264 264 }
265 265
266 - public function render(VBOMultitaskData $data = null)
266 + public function render(?VBOMultitaskData $data = null)
267 267 {
268 268 // increase widget's instance counter
269 269 static::$instance_counter++;
270 270
@@ -680,13 +680,13 @@
680 680 * settings have been loaded, and if AJAX + multitask rendering is detected.
681 681 * It's assumed that the AJAX rendering of a multitask widget takes place one
682 682 * second before the AJAX event that updates the multitask map to push the widget.
683 683 *
684 - * @param VBOMultitaskData $data the data object injected to the widget.
684 + * @param ?VBOMultitaskData $data the data object injected to the widget.
685 685 *
686 686 * @return bool|int false on failure, guessed settings index otherwise.
687 687 */
688 - protected function guessMultitaskStickyInstance(VBOMultitaskData $data = null)
688 + protected function guessMultitaskStickyInstance(?VBOMultitaskData $data = null)
689 689 {
690 690 if (!is_array($this->widgetSettings) || !count($this->widgetSettings)) {
691 691 // nothing to guess if this widget has got no saved settings
692 692 return false;