@@ -497,7 +497,7 @@ discard block |
||
497 | 497 | * Callback for when a new record has been created. |
498 | 498 | * This callback can be most useful for obtaining the primary key of a newly created record. |
499 | 499 | * |
500 | - * @param $id |
|
500 | + * @param string $id |
|
501 | 501 | */ |
502 | 502 | public function postCreateCallback($id) |
503 | 503 | { |
@@ -538,6 +538,10 @@ discard block |
||
538 | 538 | return $this->adapter; |
539 | 539 | } |
540 | 540 | |
541 | + /** |
|
542 | + * @param Relationship[] $relationships |
|
543 | + * @param integer $depth |
|
544 | + */ |
|
541 | 545 | private function expandArrayValue($array, $relationships, $depth, $expandableModels = [], $index = null) |
542 | 546 | { |
543 | 547 | $expandableModels = empty($expandableModels) ? array_keys($relationships) : $expandableModels; |