Commit e08969ea authored by Jens Segers's avatar Jens Segers

Merge pull request #160 from neoxia/master-comments-typo

Fix typos in comments
parents 014fabb4 4c8b08ae
...@@ -36,6 +36,7 @@ class EmbedsMany extends Relation { ...@@ -36,6 +36,7 @@ class EmbedsMany extends Relation {
* @param \Illuminate\Database\Eloquent\Builder $query * @param \Illuminate\Database\Eloquent\Builder $query
* @param \Illuminate\Database\Eloquent\Model $parent * @param \Illuminate\Database\Eloquent\Model $parent
* @param string $localKey * @param string $localKey
* @param string $foreignKey
* @param string $relation * @param string $relation
* @return void * @return void
*/ */
...@@ -198,7 +199,7 @@ class EmbedsMany extends Relation { ...@@ -198,7 +199,7 @@ class EmbedsMany extends Relation {
* Perform a model update operation. * Perform a model update operation.
* *
* @param \Illuminate\Database\Eloquent\Model $model * @param \Illuminate\Database\Eloquent\Model $model
* @return bool * @return Model|bool
*/ */
protected function performUpdate(Model $model) protected function performUpdate(Model $model)
{ {
...@@ -373,7 +374,7 @@ class EmbedsMany extends Relation { ...@@ -373,7 +374,7 @@ class EmbedsMany extends Relation {
* Transform single ID, single Model or array of Models into an array of IDs * Transform single ID, single Model or array of Models into an array of IDs
* *
* @param mixed $ids * @param mixed $ids
* @return int * @return array
*/ */
protected function getIdsArrayFrom($ids) protected function getIdsArrayFrom($ids)
{ {
...@@ -390,7 +391,7 @@ class EmbedsMany extends Relation { ...@@ -390,7 +391,7 @@ class EmbedsMany extends Relation {
/** /**
* Delete alias. * Delete alias.
* *
* @param int|array $ids * @param mixed $ids
* @return int * @return int
*/ */
public function detach($ids = array()) public function detach($ids = array())
...@@ -463,6 +464,7 @@ class EmbedsMany extends Relation { ...@@ -463,6 +464,7 @@ class EmbedsMany extends Relation {
* Set the embedded documents array. * Set the embedded documents array.
* *
* @param array $models * @param array $models
* @return void
*/ */
protected function setEmbeddedRecords(array $models) protected function setEmbeddedRecords(array $models)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment