You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/ide-autocompletion.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ class ConsoleApplication extends yii\console\Application
60
60
In the above PHPDoc of `BaseApplication`, `WebApplication`, `ConsoleApplication` will be used by IDE to autocomplete your custom components described via `@property`.
61
61
62
62
> **Note**: To avoid "Multiple Implementations" PHPStorm warning and make autocomplete faster
63
-
> exclude or "Mark as Plain Text" `vendor/yiisoft/yii2/Yii.php` file.
63
+
> exclude or "Mark as Plain Text" `vendor/yiisoft/yii2/Yii.php` file. On recent versions of PHPStorm this options has been renamed to "Override file type".
64
64
65
65
That's it. Now `Yii::$app->user` will be our `\app\components\User` component instead of default one. The same applies for all other `@property`-declared components.
0 commit comments