Skip to content

Commit f535123

Browse files
committed
Fix incompatibility
1 parent cd0fecb commit f535123

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
"require": {
1515
"php": ">=7.1.3",
16-
"illuminate/support": "~5.7.0|~5.8.0|^6.0|^7.0|^8.41",
17-
"illuminate/database": "~5.7.0|~5.8.0|^6.0|^7.0|^8.41",
18-
"illuminate/events": "~5.7.0|~5.8.0|^6.0|^7.0|^8.41"
16+
"illuminate/support": "^7.0|^8.0",
17+
"illuminate/database": "^7.0|^8.0",
18+
"illuminate/events": "^7.0|^8.0"
1919
},
2020

2121
"autoload": {

src/BaseRelation.php

-14
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,6 @@ public function initRelation(array $models, $relation)
111111
return $models;
112112
}
113113

114-
/**
115-
* @param EloquentBuilder $query
116-
* @param EloquentBuilder $parent
117-
* @param array $columns
118-
*
119-
* @return mixed
120-
*/
121-
public function getRelationQuery(
122-
EloquentBuilder $query, EloquentBuilder $parent,
123-
$columns = [ '*' ]
124-
) {
125-
return $this->getRelationExistenceQuery($query, $parent, $columns);
126-
}
127-
128114
/**
129115
* Get a relationship join table hash.
130116
*

0 commit comments

Comments
 (0)