SimpleSoftwareIO / simple-qrcode

An easy-to-use PHP QrCode generator with first-party support for Laravel.
https://www.simplesoftware.io/simple-qrcode
MIT License
2.66k stars 363 forks source link

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

Open JamieWBuzz opened 6 months ago

JamieWBuzz commented 6 months ago

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.