Skip to content

Commit dd364c1

Browse files
committed
deps: update to laravel 6
1 parent cffc7d4 commit dd364c1

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "regulus/activity-log",
3-
"description": "A clean and simple Laravel 5 activity logger for monitoring user activity on a website or web application.",
2+
"name": "briteweb/activity-log",
3+
"description": "Forked from regulus/activity-log for Laravel 6 support.",
44
"license": "MIT",
55
"authors": [
66
{
@@ -9,9 +9,8 @@
99
}
1010
],
1111
"require": {
12-
"php": ">=5.4.0",
13-
"laravel/framework": ">=5.2.0",
14-
12+
"php": ">=7.3.0",
13+
"laravel/framework": ">=6.0.0",
1514
"regulus/tetra-text": "0.6.*"
1615
},
1716
"autoload": {
@@ -20,4 +19,4 @@
2019
"Regulus\\TetraText\\": "src/"
2120
}
2221
}
23-
}
22+
}

src/Models/Activity.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static function log($data = [])
186186
/**
187187
* Filter out activities that are not public.
188188
*
189-
* @return QueryBuilder
189+
* @return \Illuminate\Database\Eloquent\Builder
190190
*/
191191
public function scopeOnlyPublic($query)
192192
{
@@ -196,7 +196,7 @@ public function scopeOnlyPublic($query)
196196
/**
197197
* Filter out activities that are public.
198198
*
199-
* @return QueryBuilder
199+
* @return \Illuminate\Database\Eloquent\Builder
200200
*/
201201
public function scopeOnlyPrivate($query)
202202
{
@@ -206,7 +206,7 @@ public function scopeOnlyPrivate($query)
206206
/**
207207
* Filter out activities that were not carried out by the developer.
208208
*
209-
* @return QueryBuilder
209+
* @return \Illuminate\Database\Eloquent\Builder
210210
*/
211211
public function scopeOnlyDeveloper($query)
212212
{
@@ -216,7 +216,7 @@ public function scopeOnlyDeveloper($query)
216216
/**
217217
* Filter out activities that were carried out by the developer.
218218
*
219-
* @return QueryBuilder
219+
* @return \Illuminate\Database\Eloquent\Builder
220220
*/
221221
public function scopeOnlyUser($query)
222222
{
@@ -586,4 +586,4 @@ public function getData($key = null)
586586
return $this->data;
587587
}
588588

589-
}
589+
}

0 commit comments

Comments
 (0)