Skip to content

DkimOptions -> algorithm typehint wrong  #45685

@markusramsak

Description

@markusramsak

Symfony version(s) affected

5.4

Description

(new DkimOptions())->algorithm(DkimSigner::ALGO_SHA256)
causes error because method algorithm has "int" als datatype but DkimSigner::ALGO_SHA256 is of type string

How to reproduce

(new DkimOptions())->algorithm(DkimSigner::ALGO_SHA256)

Possible Solution

change typehint from int to string

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions