Skip to content

Commit 9ab1113

Browse files
committed
Constructor property promotion
1 parent 2368344 commit 9ab1113

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Controller/MetaRefresh.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626

2727
class MetaRefresh
2828
{
29-
/** @var \SimpleSAML\Configuration */
30-
protected Configuration $config;
31-
3229
/** @var \SimpleSAML\Configuration */
3330
protected Configuration $module_config;
3431

@@ -48,9 +45,8 @@ class MetaRefresh
4845
* @throws \Exception
4946
*/
5047
public function __construct(
51-
Configuration $config
48+
protected Configuration $config
5249
) {
53-
$this->config = $config;
5450
$this->module_config = Configuration::getConfig('module_metarefresh.php');
5551
$this->authUtils = new Utils\Auth();
5652
}

0 commit comments

Comments
 (0)