Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Jul 12, 2023
1 parent 7dba4b0 commit c362b46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Aire.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function close(): Form

/**
* Check whether a form has been opened.
*
*
* @return bool
*/
public function isOpened(): bool
Expand Down
6 changes: 3 additions & 3 deletions src/Elements/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c362b46

Please sign in to comment.