| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public static function getSubscribingMethods() |
||
| 21 | { |
||
| 22 | return [ |
||
| 23 | [ |
||
| 24 | 'direction' => GraphNavigator::DIRECTION_DESERIALIZATION, |
||
| 25 | 'format' => 'json', |
||
| 26 | 'type' => 'DateTime', |
||
| 27 | 'method' => 'deserializeDateTimeFromJson', |
||
| 28 | ], |
||
| 29 | [ |
||
| 30 | 'direction' => GraphNavigator::DIRECTION_SERIALIZATION, |
||
| 31 | 'format' => 'json', |
||
| 32 | 'type' => 'DateTime', |
||
| 33 | 'method' => 'serializeDateTimeToJson', |
||
| 34 | ], |
||
| 35 | ]; |
||
| 36 | } |
||
| 37 | |||
| 65 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.