protected function buildFluentAttributes($name, $callback = null): array
    {
        $label = $name;

        if (! \is_string($label)) {
            $callback = $label;
            $name = '';
            $label = '';
        } elseif (\is_string($callback)) {
            $name = Str::lower($callback);
            $callback = null;
        } else {
            $name = Str::lower($name);
            $label = Str::humanize($name);
        }

        return [$label, $name, $callback];
    }