<?php

namespace OpenCFP\Domain\Model;

class Favorite extends Eloquent
{
    protected $table = 'favorites';
    public $timestamps = false;

    public function talk()
    {
        $this->belongsTo(Talk::class, 'talk_id');
    }
}

<?php

namespace OpenCFP\Domain\Model;

class Favorite extends Eloquent
{
    protected $table = 'favorites';
    public $timestamps = false;

    public function talk()
    {
        return $this->belongsTo(Talk::class, 'talk_id');
    }
}

Add a missing return statement
Add a missing return statement
