File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function __construct(
3939 $ this ->addAttributes (Attributes::create (['class ' => $ type ->value ]));
4040 }
4141
42- public function assemble (): void
42+ protected function assemble (): void
4343 {
4444 $ this ->addHtml ($ this ->type ->getIcon ());
4545
@@ -59,7 +59,7 @@ public function assemble(): void
5959 * Callouts are only as wide as their content.
6060 * Setting it to fullwidth will force the callout to be as wide as its container.
6161 *
62- * @param bool $fullwidth should the callout be fullwidth
62+ * @param bool $fullwidth Whether the callout should be full width
6363 *
6464 * @return $this
6565 */
@@ -78,7 +78,7 @@ public function setFullwidth(bool $fullwidth = true): static
7878 * Setting this to true will allow the callout to be used for a single form element.
7979 * This is used to visually align the callout to the content of the form element.
8080 *
81- * @param bool $isFormElement should the callout be used for a form element
81+ * @param bool $isFormElement Whether the callout should be used for a form element
8282 *
8383 * @return $this
8484 */
@@ -87,7 +87,7 @@ public function setFormElement(bool $isFormElement = true): static
8787 if ($ isFormElement ) {
8888 $ this ->addAttributes (Attributes::create (['class ' => 'form-callout ' ]));
8989 } else {
90- $ this ->removeAttribute ('class ' , 'from -callout ' );
90+ $ this ->removeAttribute ('class ' , 'form -callout ' );
9191 }
9292
9393 return $ this ;
You can’t perform that action at this time.
0 commit comments