LdapRecord icon indicating copy to clipboard operation
LdapRecord copied to clipboard

Make `encodeAttributes` protected in v3

Open stevebauman opened this issue 3 years ago • 0 comments

The encodeAttributes($attributes) method in Models\Concerns\HasAttributes should not be public, as it is not intended to be called manually.

public function encodeAttributes($attributes)
{
    array_walk_recursive($attributes, function (&$value) {
        $value = $this->encodeValue($value);
    });

    return $attributes;
}

stevebauman avatar May 31 '22 12:05 stevebauman