Are you running PHP 7?
public static function cleanUp(Builder $query) : Builder
With a little bit of research the : Builder
at the end is a new feature of php 7. If you are running < 5.6 you might be able to just remove it so it is something like
public static function cleanUp(Builder $query)
found the problem, i installed php 7 for CLI in order to pull the package in. But i forgot to configure apache to use php 7 all sorted now :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community