Skip to content

Commit

Permalink
Added return types, readonly class
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Dec 7, 2023
1 parent 65c4714 commit 361454f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
}

Expand Down

0 comments on commit 361454f

Please sign in to comment.