mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 12:48:08 +09:00
Type hinting the DI methods and variables (#1201)
This commit is contained in:
1 parent
a3369124ea
commit
950e4dccef
141 files changed
+470
-818
No files matched your search
@@ -18,20 +18,14 @@ namespace Box\Mod\Support\Controller;
|
||||
|
||||
class Client implements \Box\InjectionAwareInterface
|
||||
{
|
||||
protected $di;
|
||||
protected ?\Pimple\Container $di;
|
||||
|
||||
/**
|
||||
* @param mixed $di
|
||||
*/
|
||||
public function setDi($di)
|
||||
public function setDi(\Pimple\Container $di): void
|
||||
{
|
||||
$this->di = $di;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getDi()
|
||||
public function getDi(): ?\Pimple\Container
|
||||
{
|
||||
return $this->di;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user