@@ -228,7 +228,6 @@ |
||
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | 230 | * |
| 231 | - * @param array $data |
|
| 232 | 231 | * @param int $mode |
| 233 | 232 | * @return bool|array |
| 234 | 233 | */ |
@@ -465,7 +465,7 @@ discard block |
||
| 465 | 465 | * Callback for when a new record has been created. |
| 466 | 466 | * This callback can be most useful for obtaining the primary key of a newly created record. |
| 467 | 467 | * |
| 468 | - * @param $id |
|
| 468 | + * @param string $id |
|
| 469 | 469 | */ |
| 470 | 470 | public function postCreateCallback($id) |
| 471 | 471 | { |
@@ -509,6 +509,10 @@ discard block |
||
| 509 | 509 | return $this->adapter; |
| 510 | 510 | } |
| 511 | 511 | |
| 512 | + /** |
|
| 513 | + * @param Relationship[] $relationships |
|
| 514 | + * @param integer $depth |
|
| 515 | + */ |
|
| 512 | 516 | private function expandArrayValue($array, $relationships, $depth, $expandableModels = [], $index = null) |
| 513 | 517 | { |
| 514 | 518 | if (empty($expandableModels)) { |