Skip to content

Commit 655ecd9

Browse files
committed
Update Base Repository, just leave before and destroy methods empty
1 parent dd5460c commit 655ecd9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Repositories/Repository.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ public function __construct() {
6666
* @param \Illuminate\Database\Query\Builder $query
6767
* @return void
6868
*/
69-
abstract public function before($query);
69+
public function before($query) {
70+
//
71+
}
7072

7173
/**
7274
* Get all of the models from the database.
@@ -136,7 +138,9 @@ public function delete($id) {
136138
* @param \Illuminate\Support\Collection|array|int $ids
137139
* @return int
138140
*/
139-
abstract static function destroy($ids);
141+
static function destroy($ids) {
142+
//
143+
}
140144

141145
/**
142146
* Specify Model class name

0 commit comments

Comments
 (0)