Formfeed-UK / nova-breadcrumbs

Augments Nova 4 Breadcrumbs with nesting and resource/static override methods
MIT License
20 stars 9 forks source link

show "syntax error, unexpected '('" #7

Closed ghoreyshi closed 2 years ago

ghoreyshi commented 2 years ago

How use this modules?

I use in every card, show error to me and all cards don't work

I use this code in every cards method


public function cards(NovaRequest $request)
    {
        return [
            Breadcrumbs::make($request, $this)
        ];
    }

when use $request and $this, IDE said this method has one parameter

there is a problem from modules?

ianrobertsFF commented 2 years ago

Could you please paste the entire error?

Thanks

RoliJ commented 2 years ago

@ghoreyshi, please make sure that your app meets the specified requirements; in your case php: >=8.0 will solve the problem.

@bb140856 & @ianrobertsFF thanks for your efforts!

Cheers

ianrobertsFF commented 2 years ago

@ghoreyshi did updating to php >= 8.0 fix your issue?

ghoreyshi commented 2 years ago

@ianrobertsFF @RoliJ yes Thank's