Skip to content

Commit 1ca478d

Browse files
committed
ITT: Laravel 5.1+ support.
1 parent 114d465 commit 1ca478d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

tests/fixture/app/Commentable.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
trait Commentable
4+
{
5+
protected $something = true;
6+
}

tests/fixture/app/Post.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?php
22

33
use Illuminate\Database\Eloquent\Model;
4-
use Illuminate\Notifications\Notifiable;
54

65
class Post extends Model
76
{
8-
use Notifiable;
7+
use Commentable;
98

109
protected $table = 'posts';
1110
protected $fillable = ['title'];

0 commit comments

Comments
 (0)