| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public static function serialize(Serializer $serializer, DateTimeZone $dateTimeZone) |
||
|
|
|||
| 26 | { |
||
| 27 | return array( |
||
| 28 | Serializer::CLASS_IDENTIFIER_KEY => 'DateTimeZone', |
||
| 29 | 'timezone' => array( |
||
| 30 | Serializer::SCALAR_TYPE => 'string', |
||
| 31 | Serializer::SCALAR_VALUE => $dateTimeZone->getName(), |
||
| 32 | ), |
||
| 33 | ); |
||
| 34 | } |
||
| 35 | |||
| 56 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.