nvlad / yii2support

Yii2 Support for PhpStorm / IntelliJ IDEA
https://plugins.jetbrains.com/idea/plugin/9388-yii2-support
Other
294 stars 52 forks source link

Fix wrong replacement in action name #257

Closed cebe closed 3 years ago

cebe commented 3 years ago

Having checked method.getName().substring(0, 6).equals("action") above, we can just use substring(6) and be sure we are removing the action prefix.

fixes #243

nvlad commented 3 years ago

Thanx!