StydeNet / enlighten

Enlighten your APIs with auto-generated documentation
MIT License
575 stars 32 forks source link

Error viewing documentation in Laravel 7.29 #50

Closed rbjamaca closed 3 years ago

rbjamaca commented 3 years ago

Describe the bug When viewing the generated documentation, clicking on an item only displays the error; BadMethodCallException Method Illuminate\Database\Eloquent\Collection::chunkWhile does not exist.

maybe because chunkWhile is only available since Laravel 8

To Reproduce Steps to reproduce the behavior:

  1. Use Laravel 7.29 to create a new project
  2. Set up enlighten
  3. Run phpunit
  4. View an item from the generated documentation

Screenshots image

havryliv commented 3 years ago

@rbjamaca Looks like this package supports Laravel 8th and master versions only.

jeffochoa commented 3 years ago

@rbjamaca this will be solved in the next release; currently working on the dev branch

https://github.com/StydeNet/enlighten/commit/c6dc465d0013a5e9de970c7acf194216bee4d830