<commit_before><?php

namespace MyVendor\MyApp\Resource\App;

use BEAR\Resource\Annotation\Link;
use BEAR\Resource\ResourceObject;

class User extends ResourceObject
{
    /**
     * @Link(rel="friend", href="/friend?{id}")
     */
    public function onGet($id)
    {
        $this['id'] = $id;
        $this['friend_id'] = 'f' . $id;

        return $this;
    }
}<commit_msg>change hyper link of demo app<commit_after><?php

namespace MyVendor\MyApp\Resource\App;

use BEAR\Resource\Annotation\Link;
use BEAR\Resource\ResourceObject;

class User extends ResourceObject
{
    /**
     * @Link(rel="friend", href="/friend?id={friend_id}")
     */
    public function onGet($id)
    {
        $this['id'] = $id;
        $this['friend_id'] = 'f' . $id;

        return $this;
    }
}
{'fraction_non_alphanumeric': 0.1649616368286445, 'fraction_numerical': 0.0, 'mean_word_length': 2.876237623762376, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7144272', 'n_tokens_mistral': 267, 'n_tokens_neox': 267, 'n_words': 51}