| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class ParentsComponent extends Component |
||
| 25 | { |
||
| 26 | use ApiClientTrait; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Add parent to a folder. |
||
| 30 | * |
||
| 31 | * @param string $folderId Folder ID. |
||
| 32 | * @param array $parents Parent objects as id/type pairs. |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function addRelated(string $folderId, array $parents): array |
||
| 45 |