We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a51830 commit 8ea8a08Copy full SHA for 8ea8a08
plugins/content/confirmconsent/src/Extension/ConfirmConsent.php
@@ -56,7 +56,7 @@ public static function getSubscribedEvents(): array
56
*
57
* @param PrepareFormEvent $event The event instance.
58
59
- * @return boolean
+ * @return void
60
61
* @since 3.9.0
62
*/
@@ -65,7 +65,7 @@ public function onContentPrepareForm(PrepareFormEvent $event)
65
$form = $event->getForm();
66
67
if ($this->getApplication()->isClient('administrator') || !\in_array($form->getName(), $this->supportedContext)) {
68
- return true;
+ return;
69
}
70
71
$this->loadLanguage();
@@ -95,7 +95,5 @@ public function onContentPrepareForm(PrepareFormEvent $event)
95
</field>
96
</fieldset>
97
</form>');
98
-
99
100
101
0 commit comments