Code Duplication    Length = 13-13 lines in 2 locations

src/Kwkm/MkLiveStatusClient/LqlBuilder.php 2 locations

@@ 89-101 (lines=13) @@
86
        trigger_error('Call to undefined method ' . get_class($this) . '::' . $method, E_USER_ERROR);
87
    }
88
89
    private function callStats($method, $arguments)
90
    {
91
        $callMethod = lcfirst(substr($method, 5));
92
93
        if (($callMethod === 'or') || ($callMethod === 'and')) {
94
            $callMethod = 'operator' . ucfirst($callMethod);
95
        }
96
97
        call_user_func_array(array($this->stats, $callMethod), $arguments);
98
99
        $this->lql->stats($this->stats);
100
        $this->stats->reset();
101
    }
102
103
    private function callFilter($method, $arguments)
104
    {
@@ 103-115 (lines=13) @@
100
        $this->stats->reset();
101
    }
102
103
    private function callFilter($method, $arguments)
104
    {
105
        $callMethod = lcfirst(substr($method, 6));
106
107
        if (($callMethod === 'or') || ($callMethod === 'and')) {
108
            $callMethod = 'operator' . ucfirst($callMethod);
109
        }
110
111
        call_user_func_array(array($this->filter, $callMethod), $arguments);
112
113
        $this->lql->filter($this->filter);
114
        $this->filter->reset();
115
    }
116
117
    /**
118
     * 取得カラムの指定