Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
e08969ea
Commit
e08969ea
authored
Mar 17, 2014
by
Jens Segers
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #160 from neoxia/master-comments-typo
Fix typos in comments
parents
014fabb4
4c8b08ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
EmbedsMany.php
src/Jenssegers/Mongodb/Relations/EmbedsMany.php
+5
-3
No files found.
src/Jenssegers/Mongodb/Relations/EmbedsMany.php
View file @
e08969ea
...
...
@@ -36,6 +36,7 @@ class EmbedsMany extends Relation {
* @param \Illuminate\Database\Eloquent\Builder $query
* @param \Illuminate\Database\Eloquent\Model $parent
* @param string $localKey
* @param string $foreignKey
* @param string $relation
* @return void
*/
...
...
@@ -198,7 +199,7 @@ class EmbedsMany extends Relation {
* Perform a model update operation.
*
* @param \Illuminate\Database\Eloquent\Model $model
* @return bool
* @return
Model|
bool
*/
protected
function
performUpdate
(
Model
$model
)
{
...
...
@@ -373,7 +374,7 @@ class EmbedsMany extends Relation {
* Transform single ID, single Model or array of Models into an array of IDs
*
* @param mixed $ids
* @return
int
* @return
array
*/
protected
function
getIdsArrayFrom
(
$ids
)
{
...
...
@@ -390,7 +391,7 @@ class EmbedsMany extends Relation {
/**
* Delete alias.
*
* @param
int|array
$ids
* @param
mixed
$ids
* @return int
*/
public
function
detach
(
$ids
=
array
())
...
...
@@ -463,6 +464,7 @@ class EmbedsMany extends Relation {
* Set the embedded documents array.
*
* @param array $models
* @return void
*/
protected
function
setEmbeddedRecords
(
array
$models
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment