illuminatech / config

Manage Laravel configuration by persistent storage
Other
150 stars 14 forks source link

Encryption Attribute Not Included in Item::toArray() #16

Closed mah484 closed 2 years ago

mah484 commented 2 years ago

What steps will reproduce the problem?

Call \Illuminatech\Config\PersistentRepository::getItems()->toArray()

What is the expected result?

Returns an array with 'encrypt' attribute.

What do you get instead?

An array without the encrypt attribute.

Additional info

This makes the solution provided here invalid.

Q A
This Package Version 1.3.1
Laravel Framework Version 9.16.0
PHP version 8.1.7
Operating system CentOS 7.9
klimov-paul commented 2 years ago

Resolved by commit c4ed6d42b565635d67dc990697c80f6b954600c0