simple-qrcode icon indicating copy to clipboard operation
simple-qrcode copied to clipboard

VSCode intelephense(P1013) - Red underline when chaining methods despite working

Open JamieWBuzz opened this issue 2 years ago • 0 comments

Using the below to generate up and image to display in my Laravel view:

$qrData = QrCode::size(198)
    ->format('png')
    ->margin(2)
    ->generate('csc:' . $username . ':' . $hash . '@MYAPP');

I get a "red line" under format() - Although I get that no matter what function comes after size() in the chain.

JamieWBuzz avatar Dec 27 '23 17:12 JamieWBuzz