diff --git a/tests/Database/DatabaseEloquentMorphToTest.php b/tests/Database/DatabaseEloquentMorphToTest.php index 8da80c2e7684..2569a8d74da7 100644 --- a/tests/Database/DatabaseEloquentMorphToTest.php +++ b/tests/Database/DatabaseEloquentMorphToTest.php @@ -182,7 +182,8 @@ class EloquentMorphToModelStub extends Model public $table = 'eloquent_morph_to_model_stubs'; - public function relation() { + public function relation() + { return $this->morphTo(); } }