Code Duplication    Length = 8-8 lines in 2 locations

src/Models/Category.php 2 locations

@@ 49-56 (lines=8) @@
46
     * @return mixed
47
     * @description İstenilen kategori, üst seviye kategori veya diğer seviye kategorilerden olabilir, bu kategorilere ait olan özelliklerin ve bu özelliklere ait değerlerin listelenmesi için kullanılan metottur.
48
     */
49
    public function getCategoryAttributes(int $categoryId, int $currentPage = 1, int $pageSize = 100) {
50
        $this->_parameters["categoryId"] = $categoryId;
51
        $this->_parameters["pagingData"] = [
52
            "currentPage" => $currentPage,
53
            "pageSize" => $pageSize,
54
        ];
55
        return $this->_client->GetCategoryAttributes($this->_parameters);
56
    }
57
58
    /**
59
     * @param int $categoryId
@@ 75-82 (lines=8) @@
72
     * @return mixed
73
     * @description Özelliğe ait değerleri listeler
74
     */
75
    public function getCategoryAttributeValue(int $categoryProductAttrId, int $currentPage = 1, int $pageSize = 100) {
76
        $this->_parameters["categoryProductAttributeId"] = $categoryProductAttrId;
77
        $this->_parameters["pagingData"] = [
78
            "currentPage" => $currentPage,
79
            "pageSize" => $pageSize,
80
        ];
81
        return $this->_client->GetCategoryAttributeValue($this->_parameters);
82
    }
83
84
    /**
85
     * @param int $categoryId