| 1 | <?php |
||
| 8 | trait CommonTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @param ObjectManager $objectManager |
||
| 12 | * @param string $objectName |
||
| 13 | * @param string $field |
||
| 14 | * @param \DateTime $olderThan |
||
| 15 | 2 | * |
|
| 16 | * @return int |
||
| 17 | 2 | */ |
|
| 18 | protected function removeOlderThan(ObjectManager $objectManager, $objectName, $field, \DateTime $olderThan) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $objectName |
||
| 37 | */ |
||
| 38 | public function stopIdGenerator($objectName) |
||
| 42 | |||
| 43 | public function restoreIdGenerator($objectName) |
||
| 47 | } |
||
| 48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.