<commit_before><?php
/**
 * @package    Sandbox
 * @subpackage Resource
 */
namespace Sandbox\Resource\Page\First;

use BEAR\Sunday\Resource\AbstractPage as Page;
use BEAR\Sunday\Inject\ResourceInject;
use Ray\Di\Di\Inject;

/**
 * Greeting page
 *
 * @package    Sandbox
 * @subpackage Resource
 */
class Greeting extends Page
{
    use ResourceInject;

    /**
     * @var array
     */
    public $body = [
        'greeting' => 'Hello.'
    ];

    /**
     * @param string $name
     *
     * @return Greeting
     */
    public function onGet($name = 'anonymous')
    {
        $this['greeting'] = $this
            ->resource
            ->get
            ->uri('app://self/first/greeting')
            ->withQuery(['name' => $name])
            ->request();
        echo $this['greeting']->toUri();
        return $this;
    }
}<commit_msg>rm echo<commit_after><?php
/**
 * @package    Sandbox
 * @subpackage Resource
 */
namespace Sandbox\Resource\Page\First;

use BEAR\Sunday\Resource\AbstractPage as Page;
use BEAR\Sunday\Inject\ResourceInject;
use Ray\Di\Di\Inject;

/**
 * Greeting page
 *
 * @package    Sandbox
 * @subpackage Resource
 */
class Greeting extends Page
{
    use ResourceInject;

    /**
     * @var array
     */
    public $body = [
        'greeting' => 'Hello.'
    ];

    /**
     * @param string $name
     *
     * @return Greeting
     */
    public function onGet($name = 'anonymous')
    {
        $this['greeting'] = $this
            ->resource
            ->get
            ->uri('app://self/first/greeting')
            ->withQuery(['name' => $name])
            ->request();
        return $this;
    }
}
{'fraction_non_alphanumeric': 0.15403274711946635, 'fraction_numerical': 0.0, 'mean_word_length': 1.9411764705882353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, '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': '4545823', 'n_tokens_mistral': 519, 'n_tokens_neox': 528, 'n_words': 107}