original_string: 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];
      }
code: 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];
      }
code_tokens: 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 ] ; }
docstring: Build basic name, label and callback option.
  
  @param  mixed  $name
  @param  mixed  $callback
  
  @return array
docstring_tokens: Build basic name label and callback option .