Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Static members of a class are not shown in hints while trying to access with class name until we type #14757

Closed
nayankankariya opened this issue May 3, 2019 · 1 comment
Assignees
Milestone

Comments

@nayankankariya
Copy link
Collaborator

nayankankariya commented May 3, 2019

Title:

Brackets static members of a class are not shown in hints while trying to access with class name until we type

Steps:

  1. Create new php file and copy below content
<?php
class MyClass{
public static $staticValue = 'static';
const constantValue = 'const';
public $publicValue = 'public';
public static function staticMethod(){}
public function publicFunction(){}
}
$myclass = new MyClass();
MyClass
?>
  1. Place the cursor after "MyClass" type: "::"

Result:

No hints shown

Expected :

constantValue |MyClass|Untitled-1
staticMethod() |MyClass|Untitled-1
staticValue |MyClass|Untitled-1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants