CategoriesRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A listCategories() 0 4 1
1
<?php
2
3
/**
4
 * This class is generated using the package carono/codegen
5
 */
6
7
namespace carono\etxtru\request;
8
9
class CategoriesRequest extends \carono\etxtru\RequestAbstract
10
{
11
	/**
12
	 * Возвращает список тематический категорий заказов/статей, отсортированный по названию категории.
13
	 *
14
	 * @return \carono\etxtru\response\ListCategoriesResponse|\stdClass
15
	 */
16
	public function listCategories()
17
	{
18
		$params = [];
19
		return $this->getClient()->getContent('categories.listCategories', $params, 'carono\etxtru\response\ListCategoriesResponse');
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->getClient(...istCategoriesResponse') also could return the type carono\etxtru\Response which is incompatible with the documented return type carono\etxtru\response\L...goriesResponse|stdClass.
Loading history...
20
	}
21
}
22