add types
This commit is contained in:
@@ -33,7 +33,7 @@ class Province extends Resource
|
||||
/**
|
||||
* The columns that should be searched.
|
||||
*
|
||||
* @var array
|
||||
* @var array<int, string>
|
||||
*/
|
||||
public static $search = [
|
||||
'name',
|
||||
@@ -57,6 +57,8 @@ class Province extends Resource
|
||||
|
||||
/**
|
||||
* Get the fields displayed by the resource.
|
||||
*
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public function fields(NovaRequest $request): array
|
||||
{
|
||||
@@ -82,6 +84,8 @@ class Province extends Resource
|
||||
|
||||
/**
|
||||
* Get the cards available for the request.
|
||||
*
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public function cards(NovaRequest $request): array
|
||||
{
|
||||
@@ -90,6 +94,8 @@ class Province extends Resource
|
||||
|
||||
/**
|
||||
* Get the filters available for the resource.
|
||||
*
|
||||
* @return array<int, \Laravel\Nova\Filters\Filter>
|
||||
*/
|
||||
public function filters(NovaRequest $request): array
|
||||
{
|
||||
@@ -101,6 +107,8 @@ class Province extends Resource
|
||||
|
||||
/**
|
||||
* Get the lenses available for the resource.
|
||||
*
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public function lenses(NovaRequest $request): array
|
||||
{
|
||||
@@ -109,6 +117,8 @@ class Province extends Resource
|
||||
|
||||
/**
|
||||
* Get the actions available for the resource.
|
||||
*
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public function actions(NovaRequest $request): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user