mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Adjust method names and return type
This commit is contained in:
@@ -6,7 +6,7 @@ trait CanAlternateLayoutDirection
|
||||
{
|
||||
protected $isInlineLayout = true;
|
||||
|
||||
public function inlineLayout()
|
||||
public function inline()
|
||||
{
|
||||
$this->configure(function () {
|
||||
$this->isInlineLayout = true;
|
||||
@@ -15,7 +15,7 @@ trait CanAlternateLayoutDirection
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function stackedLayout()
|
||||
public function stacked()
|
||||
{
|
||||
$this->configure(function () {
|
||||
$this->isInlineLayout = false;
|
||||
@@ -24,7 +24,7 @@ trait CanAlternateLayoutDirection
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isInlineLayout()
|
||||
public function isInlineLayout(): bool
|
||||
{
|
||||
return $this->isInlineLayout;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user