add types

This commit is contained in:
2024-05-06 17:13:38 +05:00
parent 88b934bda1
commit e5907fe3a9
46 changed files with 465 additions and 184 deletions

View File

@@ -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
{