Skip to content

Commit

Permalink
Constructor property promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Oct 12, 2023
1 parent 2368344 commit 9ab1113
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Controller/MetaRefresh.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@

class MetaRefresh
{
/** @var \SimpleSAML\Configuration */
protected Configuration $config;

/** @var \SimpleSAML\Configuration */
protected Configuration $module_config;

Expand All @@ -48,9 +45,8 @@ class MetaRefresh
* @throws \Exception
*/
public function __construct(
Configuration $config
protected Configuration $config
) {
$this->config = $config;
$this->module_config = Configuration::getConfig('module_metarefresh.php');
$this->authUtils = new Utils\Auth();
}
Expand Down

0 comments on commit 9ab1113

Please sign in to comment.