Can not save a template after edit
I am trying to add a `
declare(strict_types=1);
to PHP File and PHP Class but I end with the following error:

Not sure if this is a bug and I should reported it somewhere, any ideas?
Please sign in to leave a comment.
Hi there,
Well .. your screenshot confirms the error: you indeed have 2 entries for "Doctrine Entity Repository".
I personally have no idea where it comes from (what plugin installs it). But try this:
P.S. Similar thread: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004819879-Cannot-Save-Live-Template
It's a problem with PHP Annotations plugin, it registers this template twice - https://github.com/Haehnchen/idea-php-annotation-plugin/issues/151. Disabling this plugin should help