Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
21 | public function __construct($objectManager, $entityClass = null) |
||
22 | { |
||
23 | if (self::class !== static::class) { |
||
24 | @trigger_error(sprintf('The class "%s" extends "%s" which will be final in MongoDB ODM 2.0.', static::class, self::class), E_USER_DEPRECATED); |
||
|
|||
25 | } |
||
26 | parent::__construct($objectManager, $entityClass); |
||
27 | } |
||
28 | |||
49 |
If you suppress an error, we recommend checking for the error condition explicitly: