add types
This commit is contained in:
1 parent
88b934bda1
commit
e5907fe3a9
46 files changed
+465
-184
No files matched your search
@@ -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 @@ public static function make(): self
|
||||
/**
|
||||
* 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