Skip to content

Nullable fields, PHP deprecated #24

@ignacio-dev

Description

@ignacio-dev

I need to encrypt a nullable string.

Works fine when passing a string, but when passing null, it throws the following message:

PHP Deprecated: openssl_encrypt(): Passing null to parameter #1 ($data) of type string is deprecated in /var/www/html/vendor/elgibor-solution/laravel-database-encryption/src/Encrypter.php on line 19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions