Nayjest / Grids

Grids framework for Laravel
MIT License
203 stars 77 forks source link

Fix Laravel 5.8 compatibility (Event::fire is depricated) #209

Closed kaily6 closed 4 years ago

kaily6 commented 4 years ago

I have updated Event::fire use method. Now Laravel version is being checked and Event::dispatch done for Laravel 5.8

Related to #206

@Nayjest Please take a look =)

Nayjest commented 4 years ago

Спасибо. Помержу, релизну, только один нюанс: если Event::fire заменили на Event::distpacth в 5.8, то наверно все-таки version_compare(Application::VERSION, '5.8', '>=') (больше или равно) Просьба уточнить этот момент.

kaily6 commented 4 years ago

@Nayjest Спасибо, обновила PR

Nayjest commented 4 years ago

Released in v2.0.0

@kaily6 Thanx for your work!