@blindcoder If you cut out the code and paste it in again, does anything change? I have problems with #PHPStorm myself with the more recent versions, sometimes their #Intellisense (code highlighting, error reporting, warnings, refactorings etc.) seems to get stuck in a certain state, false positives or false negatives are the consequence. So I fix a problem which is underlined red and afterwards the underline stays in.
I as well tinker around with the #copilot plugin.