Skip to content

Commit

Permalink
fixup! fixup! fixup! added docs for "fix-annotations" phing target
Browse files Browse the repository at this point in the history
  • Loading branch information
vitek-rostislav committed Sep 4, 2019
1 parent c66ab10 commit afa2571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/introduction/framework-extensibility.md
Expand Up @@ -206,7 +206,7 @@ use Shopsys\FrameworkBundle\Model\Product\ProductFacade as BaseProductFacade;
### Problem 3
There is one kind of problem that is not fixed automatically and needs to be addressed manually.
Shopsys Framework uses a kind of magic for working with extended entities (see [`EntityNameResolver` class](https://github.com/shopsys/shopsys/blob/master/packages/framework/src/Component/EntityExtension/EntityNameResolver.php)),
and static analysis tools are not aware of that fact.
and static analysis tools are not aware of that fact.
Imagine the following situation:
- You have extended `Product` entity in your project
- In the framework, there is `ProductFacade` class that is not extended in your project, and it has a method that returns instances of `Product` entity (in fact, it returns instances of your child `Product` entity thanks to the mentioned `EntityNameResolver` magic).
Expand Down

0 comments on commit afa2571

Please sign in to comment.