| 1 | <?php |
||
| 10 | class ExternalDocs extends AbstractModel implements Arrayable { |
||
| 11 | |||
| 12 | use DescriptionPart; |
||
| 13 | use UrlPart; |
||
| 14 | use ExtensionPart; |
||
| 15 | |||
| 16 | 12 | public function __construct($contents = []) { |
|
| 19 | |||
| 20 | 12 | public function merge($contents, $strategy = self::PREFER_ORIGINAL) { |
|
|
|
|||
| 21 | 12 | $data = CollectionUtils::toMap($contents); |
|
| 22 | |||
| 23 | // parts |
||
| 24 | 12 | $this->parseDescription($data); |
|
| 25 | 12 | $this->parseUrl($data); |
|
| 26 | 12 | $this->parseExtensions($data); |
|
| 27 | 12 | } |
|
| 28 | |||
| 29 | 10 | public function toArray() { |
|
| 32 | |||
| 33 | } |
||
| 34 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.