Skip to content

Commit e08969e

Browse files
committed
Merge pull request #160 from neoxia/master-comments-typo
Fix typos in comments
2 parents 014fabb + 4c8b08a commit e08969e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Jenssegers/Mongodb/Relations/EmbedsMany.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class EmbedsMany extends Relation {
3636
* @param \Illuminate\Database\Eloquent\Builder $query
3737
* @param \Illuminate\Database\Eloquent\Model $parent
3838
* @param string $localKey
39+
* @param string $foreignKey
3940
* @param string $relation
4041
* @return void
4142
*/
@@ -198,7 +199,7 @@ protected function performInsert(Model $model)
198199
* Perform a model update operation.
199200
*
200201
* @param \Illuminate\Database\Eloquent\Model $model
201-
* @return bool
202+
* @return Model|bool
202203
*/
203204
protected function performUpdate(Model $model)
204205
{
@@ -373,7 +374,7 @@ public function dissociate($ids = array())
373374
* Transform single ID, single Model or array of Models into an array of IDs
374375
*
375376
* @param mixed $ids
376-
* @return int
377+
* @return array
377378
*/
378379
protected function getIdsArrayFrom($ids)
379380
{
@@ -390,7 +391,7 @@ protected function getIdsArrayFrom($ids)
390391
/**
391392
* Delete alias.
392393
*
393-
* @param int|array $ids
394+
* @param mixed $ids
394395
* @return int
395396
*/
396397
public function detach($ids = array())
@@ -463,6 +464,7 @@ protected function getEmbeddedRecords(Model $model = null)
463464
* Set the embedded documents array.
464465
*
465466
* @param array $models
467+
* @return void
466468
*/
467469
protected function setEmbeddedRecords(array $models)
468470
{

0 commit comments

Comments
 (0)