kirkbushell / eloquence

A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
MIT License
537 stars 58 forks source link

Eloquence\Behaviours\CamelCasing::getAttributes() should be compatible with Illuminate\Database\Eloquent\Model::getAttributes($keys = Array)' #60

Closed rflipo-dev closed 7 years ago

rflipo-dev commented 7 years ago
exception 'ErrorException' with message 'Declaration of Eloquence\Behaviours\CamelCasing::getAttributes() should be compatible with Illuminate\Database\Eloquent\Model::getAttributes($keys = Array)'

Using Laravel 5.3.17

ugly (?) fix : public function getAttributes() => public function getAttributes($keys = [])

kirkbushell commented 7 years ago

Thanks for that - are you able to provide a PR for this? I can't get to it for at least a few days..