OptionsRequest::getLangs()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This class is generated using the package carono/codegen
5
 */
6
7
namespace carono\etxtru\request;
8
9
class OptionsRequest extends \carono\etxtru\RequestAbstract
10
{
11
	/**
12
	 * Функция получения списка языков, используемых в системе.
13
	 *
14
	 * @return \carono\etxtru\response\GetLangsResponse|\stdClass
15
	 */
16
	public function getLangs()
17
	{
18
		$params = [];
19
		return $this->getClient()->getContent('options.getLangs', $params, 'carono\etxtru\response\GetLangsResponse');
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->getClient(...onse\GetLangsResponse') also could return the type carono\etxtru\Response which is incompatible with the documented return type carono\etxtru\response\GetLangsResponse|stdClass.
Loading history...
20
	}
21
}
22