clickbar / laravel-magellan

A modern PostGIS toolbox for Laravel
MIT License
198 stars 11 forks source link

Fix Laravel 10 expression getValue calls #25

Closed saibotk closed 1 year ago

saibotk commented 1 year ago

These functions now require a parameter, the grammar. To avoid builing special version specific code, we are utilizing the grammar's own wrap() function which calls getValue on the expression for us. So this method works for both Laravel 9 & 10.