Skip to content

openssl_seal(): "Undefined variable: $env_keys" #2475

@luxemate

Description

@luxemate

https://phpstan.org/r/9e903e7f-3296-45e3-a324-63d2ab9c9119

@ondrejmirtes Not sure what can be done to fix the issue. Any suggestions?

'openssl_seal' => ['int|false', 'data'=>'string', '&w_sealed_data'=>'string', '&rw_env_keys'=>'array', 'pub_key_ids'=>'array', 'method='=>'string'],

Here the $sealed_data is &w_, but $env_keys is &rw_. Any particular reason for that? I guess both are just to read from after function call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions