From 361454f517978deef5c9c0093f1aef8d92f2a90b Mon Sep 17 00:00:00 2001 From: Paul Rijke Date: Thu, 7 Dec 2023 17:49:48 +0100 Subject: [PATCH] Added return types, readonly class --- .../SamlStepupProviderBundle/Provider/Provider.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/Provider/Provider.php b/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/Provider/Provider.php index b9959356c..350019e7f 100644 --- a/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/Provider/Provider.php +++ b/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/Provider/Provider.php @@ -22,13 +22,13 @@ use Surfnet\SamlBundle\Entity\ServiceProvider; use Surfnet\StepupSelfService\SamlStepupProviderBundle\Saml\StateHandler; -final class Provider +final readonly class Provider { public function __construct( - private readonly string $name, - private readonly ServiceProvider $serviceProvider, - private readonly IdentityProvider $remoteIdentityProvider, - private readonly StateHandler $stateHandler + private string $name, + private ServiceProvider $serviceProvider, + private IdentityProvider $remoteIdentityProvider, + private StateHandler $stateHandler ) { }