@@ -506,7 +506,7 @@ discard block |
||
506 | 506 | * Callback for when a new record has been created. |
507 | 507 | * This callback can be most useful for obtaining the primary key of a newly created record. |
508 | 508 | * |
509 | - * @param $id |
|
509 | + * @param string $id |
|
510 | 510 | */ |
511 | 511 | public function postCreateCallback($id) |
512 | 512 | { |
@@ -550,6 +550,10 @@ discard block |
||
550 | 550 | return $this->adapter; |
551 | 551 | } |
552 | 552 | |
553 | + /** |
|
554 | + * @param Relationship[] $relationships |
|
555 | + * @param integer $depth |
|
556 | + */ |
|
553 | 557 | private function expandArrayValue($array, $relationships, $depth, $expandableModels = [], $index = null) |
554 | 558 | { |
555 | 559 | $allExpandableModels = empty($expandableModels) ? array_keys($relationships) : $expandableModels; |