| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait DatabaseRecreatableTrait |
||
| 14 | { |
||
| 15 | protected static ?EntityManagerAdapterInterface $entityManager; |
||
| 16 | |||
| 17 | protected static function recreateDatabaseSchema(): void |
||
| 18 | { |
||
| 19 | static::dropDatabaseSchema(); |
||
| 20 | static::$entityManager->createSchema(); |
||
|
|
|||
| 21 | } |
||
| 22 | |||
| 23 | protected static function dropDatabaseSchema(): void |
||
| 26 | } |
||
| 27 | } |
||
| 28 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.