barryvdh / laravel-dompdf

A DOMPDF Wrapper for Laravel
MIT License
6.66k stars 966 forks source link

Fix readme method name typo #934

Closed theChaosCoder closed 1 year ago

theChaosCoder commented 1 year ago

I was confused for 10 min >_<

parallels999 commented 1 year ago

It is not a typo, setOptions was deprecated (V2) Look at this https://github.com/barryvdh/laravel-dompdf/commit/00443b33aff68f9e996de536c8f62735c4042131 https://github.com/barryvdh/laravel-dompdf/blob/9843d2be423670fb434f4c978b3c0f4dd92c87a6/src/PDF.php#L145-L148

theChaosCoder commented 1 year ago

Thx for pointing to the commit. Seems like I had an older version installed while testing.