| 1 | <?php |
||
| 11 | class Activity extends Model |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Don't auto-apply mass assignment protection. |
||
| 15 | * |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected $guarded = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Fetch the associated subject for the activity. |
||
| 22 | * |
||
| 23 | * @return \Illuminate\Database\Eloquent\Relations\MorphTo |
||
| 24 | */ |
||
| 25 | public function subject() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Fetch an activity feed for the given user. |
||
| 32 | * |
||
| 33 | * @param User $user |
||
| 34 | * @param int $take |
||
| 35 | * @return \Illuminate\Database\Eloquent\Collection; |
||
|
|
|||
| 36 | */ |
||
| 37 | public static function feed($user, $take = 50) |
||
| 48 | } |
||
| 49 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.