| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 1 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 21 | protected function normalizePayload(array $values, $excludeExistingMedia = true): array |
||
| 22 | { |
||
| 23 | // if($excludeExistingMedia) { |
||
| 24 | // foreach($values as $key => $value) { |
||
| 25 | // if($this->looksLikeAnAssetId($key) && $key == $value) { |
||
| 26 | // unset($values[$key]); |
||
| 27 | // } |
||
| 28 | // } |
||
| 29 | // } |
||
| 30 | |||
| 31 | return $values; |
||
| 32 | } |
||
| 53 |