File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/Jenssegers/Mongodb/Relations Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class EmbedsMany extends Relation {
36
36
* @param \Illuminate\Database\Eloquent\Builder $query
37
37
* @param \Illuminate\Database\Eloquent\Model $parent
38
38
* @param string $localKey
39
+ * @param string $foreignKey
39
40
* @param string $relation
40
41
* @return void
41
42
*/
@@ -198,7 +199,7 @@ protected function performInsert(Model $model)
198
199
* Perform a model update operation.
199
200
*
200
201
* @param \Illuminate\Database\Eloquent\Model $model
201
- * @return bool
202
+ * @return Model| bool
202
203
*/
203
204
protected function performUpdate (Model $ model )
204
205
{
@@ -373,7 +374,7 @@ public function dissociate($ids = array())
373
374
* Transform single ID, single Model or array of Models into an array of IDs
374
375
*
375
376
* @param mixed $ids
376
- * @return int
377
+ * @return array
377
378
*/
378
379
protected function getIdsArrayFrom ($ ids )
379
380
{
@@ -390,7 +391,7 @@ protected function getIdsArrayFrom($ids)
390
391
/**
391
392
* Delete alias.
392
393
*
393
- * @param int|array $ids
394
+ * @param mixed $ids
394
395
* @return int
395
396
*/
396
397
public function detach ($ ids = array ())
@@ -463,6 +464,7 @@ protected function getEmbeddedRecords(Model $model = null)
463
464
* Set the embedded documents array.
464
465
*
465
466
* @param array $models
467
+ * @return void
466
468
*/
467
469
protected function setEmbeddedRecords (array $ models )
468
470
{
You can’t perform that action at this time.
0 commit comments