Skip to content

[PHP] Automplete with extended interface #710

@Fedez1879

Description

@Fedez1879

Hello, I've encountered an issue (maybe?) with autocompletion and extended interfaces.

let's say I've two interfaces:

<?php

interface A { 
	function A();
}

interface B extends A { 
	function B();
}

class C implements B {
	function A(){ return "A"; }
	function B(){ return "B"; }
}

$getC = function(){
	return new C;
};

/**
 * @var B
 */
$C = $getC();

when typyng $C->..... only B function appears in the list of avaiable functions

Expected behaviour: A and B functions should appear in the list of avaiable functions

Am I wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions