Feat: Bringin Privacy to Filament v4, the managers and resources were built with filament v3
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Modules\Core\Export;
|
||||
|
||||
use Closure;
|
||||
|
||||
/**
|
||||
* One column in a CsvWriter schema: a header label plus a closure that pulls this
|
||||
* column's value out of one record. The closure doesn't care what shape a record
|
||||
@@ -12,10 +14,10 @@ namespace Modules\Core\Export;
|
||||
final class CsvColumn
|
||||
{
|
||||
/**
|
||||
* @param \Closure(mixed): (string|int|float|null) $value
|
||||
* @param Closure(mixed):((string|int|float|null)) $value
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly string $header,
|
||||
public readonly \Closure $value,
|
||||
public readonly Closure $value,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user