marlonfan / coc-phpls

🐭 php language server for coc.nvim
MIT License
211 stars 17 forks source link

bug? #108

Open dvlpr91 opened 2 years ago

dvlpr91 commented 2 years ago

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 commented 2 years ago

still

jchook commented 2 years ago

Define $foo before you use it.


<?php

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