| 1 | <?php |
||
| 10 | trait DontDeserialise |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @throws NonDeserialisableObject |
||
| 14 | * @throws TypeError |
||
| 15 | */ |
||
| 16 | 2 | final public function __wakeup() : void |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @throws NonDeserialisableObject |
||
| 23 | * @throws TypeError |
||
| 24 | */ |
||
| 25 | final public function __unserialize() : array |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @throws NonDeserialisableObject |
||
| 32 | * @throws TypeError |
||
| 33 | */ |
||
| 34 | final public function unserialize($_) : array |
||
| 38 | } |
||
| 39 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.