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
c0e80b4b
Commit
c0e80b4b
authored
Aug 02, 2016
by
pi0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style CI
parent
49eb85cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
MongodbServiceProvider.php
src/Jenssegers/Mongodb/MongodbServiceProvider.php
+1
-1
Builder.php
src/Jenssegers/Mongodb/Query/Builder.php
+1
-1
No files found.
src/Jenssegers/Mongodb/MongodbServiceProvider.php
View file @
c0e80b4b
...
...
@@ -15,7 +15,7 @@ class MongodbServiceProvider extends ServiceProvider
Model
::
setEventDispatcher
(
$this
->
app
[
'events'
]);
if
(
!
defined
(
'SHOULD_RETURN_COLLECTION'
))
{
if
(
!
defined
(
'SHOULD_RETURN_COLLECTION'
))
{
$s
=
explode
(
'.'
,
\Illuminate\Foundation\Application
::
VERSION
);
define
(
'SHOULD_RETURN_COLLECTION'
,
(
10
*
$s
[
0
]
+
$s
[
1
])
>=
53
);
}
...
...
src/Jenssegers/Mongodb/Query/Builder.php
View file @
c0e80b4b
...
...
@@ -1036,4 +1036,4 @@ class Builder extends BaseBuilder
return
parent
::
__call
(
$method
,
$parameters
);
}
}
\ No newline at end of file
}
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