Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Class: method search stopped working #19

Open
ok-ttc opened this issue Mar 21, 2023 · 1 comment
Open

PHP Class: method search stopped working #19

ok-ttc opened this issue Mar 21, 2023 · 1 comment

Comments

@ok-ttc
Copy link

ok-ttc commented Mar 21, 2023

Hello,

I came here in desperation. :-) Up to recently I was able to search methods in a Class file structured like this:

<?php

namespace App\Data;

use Symfony\Component\HttpFoundation\RequestStack;
use App\Controller\PrivateController;

class Cron extends PrivateController
{
	private $requestStack;

	public function __construct(RequestStack $requestStack)
	{
		$this->requestStack = $requestStack;
		$this->session = $this->requestStack->getSession();
	}

	public function method_1() {
             # some code
	}

	public function method_2() {
             # some code
	}

	public function method_3() {
             # some code
	}
}

For some reason the extension now only shows me "No symbols found". In the past it would show me something like

method_1
method_2
method_3

Did I break something or can I change something to make this work again?

Thank you for your help. :-)

@ok-ttc
Copy link
Author

ok-ttc commented Mar 21, 2023

For some reason I just noticed that with the extension PHP Intelephense enables, it works as desired.

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

No branches or pull requests

1 participant