<commit_before><?php

namespace Transvision;

class RTLSupport
{
    protected $rtl; // array

    public function __construct()
    {
        $this->rtl = array('ar', 'fa', 'he', 'ur');
    }
    
    public static function getDirection($locale)
    {
        return in_array($locale, $self->$rtl) ? 'rtl' : 'ltr';
    }
    
    public static function isRTL($locale)
    {
        return in_array($locale, $self->$rtl) ? true : false;
    }
}<commit_msg>fix call to a static class<commit_after><?php

namespace Transvision;

class RTLSupport
{
    public static $rtl = array('ar', 'fa', 'he', 'ur'); // array
    
    public static function getDirection($locale)
    {
        return in_array($locale, self::$rtl) ? 'rtl' : 'ltr';
    }
    
    public static function isRTL($locale)
    {
        return in_array($locale, self::$rtl) ? true : false;
    }
}
{'fraction_non_alphanumeric': 0.1511627906976744, 'fraction_numerical': 0.0, 'mean_word_length': 2.6638297872340426, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '5986884', 'n_tokens_mistral': 287, 'n_tokens_neox': 279, 'n_words': 70}