1 | <?php |
||
10 | class Pi extends BaseExample |
||
11 | { |
||
12 | /** |
||
13 | * @var float |
||
14 | */ |
||
15 | protected $estimation; |
||
16 | |||
17 | /** |
||
18 | * @param int $n |
||
19 | * |
||
20 | * @throws \Http\Client\Exception |
||
21 | * |
||
22 | * @return $this |
||
23 | */ |
||
24 | public function run($n = 1000) |
||
47 | |||
48 | /** |
||
49 | * @return float |
||
50 | */ |
||
51 | public function get() |
||
55 | } |
||
56 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.