<commit_before><?php

namespace Rogue\Models;

use Illuminate\Database\Eloquent\Model;

class Photo extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['signup_id', 'northstar_id', 'file_url', 'edited_file_url', 'caption', 'status', 'source', 'remote_addr'];

    /**
     * Returns a parent Post model.
     *
     * @return \Illuminate\Database\Eloquent\Relations\MorphOne
     */
    public function post()
    {
        return $this->morphOne('Rogue\Models\Post', 'postable');
    }

    /**
     * Get all of the photo's reactions.
     */
    public function reactions()
    {
        return $this->morphMany('Rogue\Models\Reaction', 'reactionable');
    }
}<commit_msg>uses Reaction::Class instead of 'Rogue\Models\Reaction'<commit_after><?php

namespace Rogue\Models;

use Illuminate\Database\Eloquent\Model;

class Photo extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['signup_id', 'northstar_id', 'file_url', 'edited_file_url', 'caption', 'status', 'source', 'remote_addr'];

    /**
     * Returns a parent Post model.
     *
     * @return \Illuminate\Database\Eloquent\Relations\MorphOne
     */
    public function post()
    {
        return $this->morphOne(Post::class, 'postable');
    }

    /**
     * Get all of the photo's reactions.
     */
    public function reactions()
    {
        return $this->morphMany(Reaction::class, 'reactionable');
    }
}
{'fraction_non_alphanumeric': 0.14174252275682706, 'fraction_numerical': 0.0, 'mean_word_length': 2.708433734939759, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5354305', 'n_tokens_mistral': 492, 'n_tokens_neox': 485, 'n_words': 108}