Skip to content
Snippets Groups Projects
Commit 29900c6c authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Add a few missing typehints

parent 56848bb1
No related branches found
No related tags found
No related merge requests found
...@@ -32,10 +32,10 @@ class Config ...@@ -32,10 +32,10 @@ class Config
protected Configuration $config; protected Configuration $config;
/** @var \SimpleSAML\Utils\Auth */ /** @var \SimpleSAML\Utils\Auth */
protected $authUtils; protected Utils\Auth $authUtils;
/** @var \SimpleSAML\Utils\HTTP */ /** @var \SimpleSAML\Utils\HTTP */
protected $httpUtils; protected Utils\HTTP $httpUtils;
/** @var \SimpleSAML\Module\admin\Controller\Menu */ /** @var \SimpleSAML\Module\admin\Controller\Menu */
protected Menu $menu; protected Menu $menu;
...@@ -144,6 +144,10 @@ class Config ...@@ -144,6 +144,10 @@ class Config
return $this->menu->insert($t); return $this->menu->insert($t);
} }
/**
* @return array
*/
protected function getModuleList(): array protected function getModuleList(): array
{ {
$modules = Module::getModules(); $modules = Module::getModules();
...@@ -154,6 +158,7 @@ class Config ...@@ -154,6 +158,7 @@ class Config
return $modulestates; return $modulestates;
} }
/** /**
* Display the output of phpinfo(). * Display the output of phpinfo().
* *
......
...@@ -43,10 +43,10 @@ class Federation ...@@ -43,10 +43,10 @@ class Federation
protected $authSource = Auth\Source::class; protected $authSource = Auth\Source::class;
/** @var \SimpleSAML\Utils\Auth */ /** @var \SimpleSAML\Utils\Auth */
protected $authUtils; protected Utils\Auth $authUtils;
/** @var \SimpleSAML\Utils\Crypto */ /** @var \SimpleSAML\Utils\Crypto */
protected $cryptoUtils; protected Utils\Crypto $cryptoUtils;
/** @var \SimpleSAML\Metadata\MetaDataStorageHandler */ /** @var \SimpleSAML\Metadata\MetaDataStorageHandler */
protected MetadataStorageHandler $mdHandler; protected MetadataStorageHandler $mdHandler;
......
...@@ -33,7 +33,7 @@ class Test ...@@ -33,7 +33,7 @@ class Test
/** /**
* @var \SimpleSAML\Utils\Auth * @var \SimpleSAML\Utils\Auth
*/ */
protected $authUtils; protected Utils\Auth $authUtils;
/** /**
* @var \SimpleSAML\Auth\Simple|string * @var \SimpleSAML\Auth\Simple|string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment