| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class DoctrineCommentsTransactionFactory extends DoctrineTransactionFactory implements CommentsTransactionFactoryInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param ManagerRegistry $managerRegistry |
||
| 13 | */ |
||
| 14 | public function __construct( |
||
| 15 | ManagerRegistry $managerRegistry |
||
| 16 | ) |
||
| 17 | { |
||
| 18 | parent::__construct($managerRegistry); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | function getManagerName(): string |
||
| 27 | } |
||
| 28 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.