From c362b463d775fb7a034d6d5b3fe073dea641b664 Mon Sep 17 00:00:00 2001 From: Chris Morrell Date: Wed, 12 Jul 2023 13:27:26 -0400 Subject: [PATCH] Fix code style --- src/Aire.php | 2 +- src/Elements/Element.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Aire.php b/src/Aire.php index 72aa7a1..f38d4a9 100755 --- a/src/Aire.php +++ b/src/Aire.php @@ -297,7 +297,7 @@ public function close(): Form /** * Check whether a form has been opened. - * + * * @return bool */ public function isOpened(): bool diff --git a/src/Elements/Element.php b/src/Elements/Element.php index 2f593ed..e7f014f 100644 --- a/src/Elements/Element.php +++ b/src/Elements/Element.php @@ -22,7 +22,7 @@ abstract class Element implements Htmlable { use Groupable; use HasGlobalAttributes; - use HasVariants; + use HasVariants; use Macroable { Groupable::__call insteadof Macroable; Macroable::__call as callMacro; @@ -282,11 +282,11 @@ public function unless($value = null, callable $callback = null, callable $defau } if (func_num_args() === 1) { - return (new HigherOrderWhenProxy($this))->condition(! $value); + return (new HigherOrderWhenProxy($this))->condition(!$value); } } - if (! $value) { + if (!$value) { return $callback($this, $value) ?? $this; } elseif ($default) { return $default($this, $value) ?? $this;