coc-phpls
coc-phpls copied to clipboard
bug?
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?
still
Define $foo
before you use
it.
<?php
Route::get('temp', function () {
$foo = null; // <--- add this
// ...
});