telegram   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 2
c 2
b 0
f 0
dl 0
loc 3
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __call() 0 2 1
1
<?php
2
3
namespace BPT\telegram;
4
5
/**
6
 * telegram class , Adding normal method call to request class and a simple name for being easy to call
7
 */
8
class telegram extends request {
9
    public function __call (string $name, array $arguments) {
10
        return request::$name(...$arguments);
11
    }
12
}