<commit_before><?php
namespace Cms\Model\Table;

use Burzum\FileStorage\Model\Table\ImageStorageTable;

class ArticleFeaturedImagesTable extends ImageStorageTable
{
    /**
     * Save the entity to the file storage table.
     * Please note this is a child of the ImageStorageTable.
     *
     * @see ImageStorageTable class
     * @param  [type] $articleId [description]
     * @param  [type] $entity    [description]
     * @return [type]            [description]
     */
    public function uploadImage($articleId, $entity)
    {
        $entity = $this->patchEntity($entity, [
            'adapter' => 'Local',
            'model' => 'ArticleFeaturedImage',
            'foreign_key' => $articleId
        ]);
<commit_msg>fixed doc (task #951)<commit_after><?php
namespace Cms\Model\Table;

use Burzum\FileStorage\Model\Table\ImageStorageTable;

class ArticleFeaturedImagesTable extends ImageStorageTable
{
    /**
     * Save the entity to the file storage table.
     * Please note this is a child of the ImageStorageTable.
     *
     * @see ImageStorageTable class
     * @param  uuid $articleId the id of the article
     * @param  object $entity  Entity object
     * @return boolean         Flag whether the record has got stored or not
     */
    public function uploadImage($articleId, $entity)
    {
        $entity = $this->patchEntity($entity, [
            'adapter' => 'Local',
            'model' => 'ArticleFeaturedImage',
            'foreign_key' => $articleId
        ]);

{'fraction_non_alphanumeric': 0.1048064085447263, 'fraction_numerical': 0.0020026702269692926, 'mean_word_length': 2.6033653846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6605510', 'n_tokens_mistral': 420, 'n_tokens_neox': 414, 'n_words': 120}