WIP
This commit is contained in:
@@ -23,7 +23,7 @@ class DynamicFields extends Field
|
||||
* @param (callable():bool)|bool $callback
|
||||
* @return $this
|
||||
*
|
||||
* @throws \Laravel\Nova\Exceptions\NovaException
|
||||
* @throws NovaException
|
||||
*/
|
||||
public function showOnIndex($callback = true)
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace Nurmuhammet\InlineRelationship;
|
||||
use Exception;
|
||||
use Laravel\Nova\Fields\Field;
|
||||
use Laravel\Nova\Fields\SupportsDependentFields;
|
||||
use Laravel\Nova\Resource;
|
||||
|
||||
class InlineRelationship extends Field
|
||||
{
|
||||
|
||||
@@ -20,10 +20,11 @@ class InventoryHistoryItems extends Field
|
||||
/**
|
||||
* Set the options for the select menu.
|
||||
*
|
||||
* @param array<string|int, array<string, mixed>|string>|\Closure|callable|\Illuminate\Support\Collection $options
|
||||
* @return $this
|
||||
* @param array<string|int, array<string, mixed>|string>|\Closure|callable|Collection $options
|
||||
*
|
||||
* @phpstan-param TOption|(callable(): (TOption))|(\Closure(): (TOption)) $options
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function options(array|Collection $options): self
|
||||
{
|
||||
|
||||
@@ -20,10 +20,11 @@ class ProductInventory extends Field
|
||||
/**
|
||||
* Set the options for the select menu.
|
||||
*
|
||||
* @param array<string|int, array<string, mixed>|string>|\Closure|callable|\Illuminate\Support\Collection $options
|
||||
* @return $this
|
||||
* @param array<string|int, array<string, mixed>|string>|\Closure|callable|Collection $options
|
||||
*
|
||||
* @phpstan-param TOption|(callable(): (TOption))|(\Closure(): (TOption)) $options
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function options(array|Collection $options): self
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user