mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix overridden methods
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ class SpatieMediaLibraryImageColumn extends ImageColumn
|
||||
/**
|
||||
* @return array<string>
|
||||
*/
|
||||
public function getState(): array
|
||||
public function getState(bool $isCached = true): array
|
||||
{
|
||||
$record = $this->getRecord();
|
||||
|
||||
|
||||
@@ -26,9 +26,9 @@ class SpatieTagsColumn extends TextColumn
|
||||
/**
|
||||
* @return array<string>
|
||||
*/
|
||||
public function getState(): array
|
||||
public function getState(bool $isCached = true): array
|
||||
{
|
||||
$state = parent::getState();
|
||||
$state = parent::getState($isCached);
|
||||
|
||||
if ($state && (! $state instanceof Collection)) {
|
||||
return $state;
|
||||
|
||||
Reference in New Issue
Block a user