<commit_before><?php
namespace Concrete\Core\Entity\Attribute\Key\Type;

use Concrete\Core\Entity\Attribute\Value\Value\ImageFileValue;

/**
 * @Entity
 * @Table(name="ImageFileAttributeKeyTypes")
 */
class ImageFileType extends Type
{

    const TYPE_FILE_MANAGER = 0;
    const TYPE_HTML_INPUT = 5;

    public function getAttributeValue()
    {
        return new ImageFileValue();
    }

    /**
     * @Column(type="integer")
     */
    protected $akFileManagerMode;

    public function __construct()
    {
        $this->mode = self::TYPE_FILE_MANAGER;
    }

    public function getMode()
    {
        return $this->akFileManagerMode;
    }

    public function isModeFileManager()
    {
        return $this->akFileManagerMode == self::TYPE_FILE_MANAGER;
    }
<commit_msg>Fix ImageFileType constructor<commit_after><?php
namespace Concrete\Core\Entity\Attribute\Key\Type;

use Concrete\Core\Entity\Attribute\Value\Value\ImageFileValue;

/**
 * @Entity
 * @Table(name="ImageFileAttributeKeyTypes")
 */
class ImageFileType extends Type
{

    const TYPE_FILE_MANAGER = 0;
    const TYPE_HTML_INPUT = 5;

    public function getAttributeValue()
    {
        return new ImageFileValue();
    }

    /**
     * @Column(type="integer")
     */
    protected $akFileManagerMode;

    public function __construct()
    {
        $this->akFileManagerMode = self::TYPE_FILE_MANAGER;
    }

    public function getMode()
    {
        return $this->akFileManagerMode;
    }

    public function isModeFileManager()
    {
        return $this->akFileManagerMode == self::TYPE_FILE_MANAGER;
    }

{'fraction_non_alphanumeric': 0.11145898559799625, 'fraction_numerical': 0.002504696305572949, 'mean_word_length': 3.025188916876574, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '255655', 'n_tokens_mistral': 498, 'n_tokens_neox': 480, 'n_words': 86}