coc-phpls icon indicating copy to clipboard operation
coc-phpls copied to clipboard

bug?

Open dvlpr91 opened this issue 3 years ago • 2 comments

153798814-b3f0e45e-87d6-491e-9f0d-0336ee37535a

The above code works normally.

As in the written code, when a variable is created through a pointer, an error is displayed.

Is this bug?

dvlpr91 avatar Feb 14 '22 12:02 dvlpr91

still

dvlpr91 avatar Feb 22 '22 01:02 dvlpr91

Define $foo before you use it.

<?php

Route::get('temp', function () {
  $foo = null; // <--- add this
  // ...
});

jchook avatar May 25 '22 23:05 jchook