Change type deceleration priority

Hi,

 

I have two classes:

class CartItem extends CActiveRecord
{
...
}

class CActiveRecord
{
public function __construct()
{
...
}
....
}

 

And I have the following code:

$cartItem = new CartItem;

 

When I Ctrl+Left click "CartItem" it takes me to CActiveRecord instead of CartItem class.

It used to work until not too long ago, I don't know if I've changed any settings.

 

I need your help.
Thanks!

 

EDIT: [For future Googlers]

-- Just found out that it was a bug in 2018.1.1, Updating now :D

3 comments

> Just found out that it was a bug in 2018.1.1, Updating now :D

It's NOT a bug -- it was intentional change.

But it brought lots of inconvenience... so it was reverted back to old behaviour until better approach will be found.

0

Well, I didn't mean to insult you, but actually it is categorized as a bug.
https://youtrack.jetbrains.com/issue/WI-41585

 

 

 

0

https://youtrack.jetbrains.com/issue/WI-41585#comment=27-2814509

>That is expected change that was required to fix WI-19518.

Based on a History tab .. the "Bug" type was left untouched from the initial report. That comment above have changed status to "Declined" .. so devs must have ignored the ticket type all way long.

0

Please sign in to leave a comment.