add types
This commit is contained in:
@@ -9,10 +9,13 @@ class BranchRepo
|
||||
{
|
||||
/**
|
||||
* Model
|
||||
*
|
||||
* @var App\Models\Branch\Branch
|
||||
*/
|
||||
protected $model;
|
||||
protected mixed $model;
|
||||
|
||||
/**
|
||||
* Query
|
||||
*/
|
||||
protected mixed $query;
|
||||
|
||||
/**
|
||||
* New Branch Repo
|
||||
@@ -45,13 +48,15 @@ class BranchRepo
|
||||
/**
|
||||
* Query
|
||||
*/
|
||||
public function query()
|
||||
public function query(): mixed
|
||||
{
|
||||
return $this->query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Branch values
|
||||
*
|
||||
* @return \Illuminate\Support\Collection<int, string>|array<int, string>
|
||||
*/
|
||||
public static function values(): Collection|array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user