Passed
Push — main ( 104144...d23e8a )
by Miaad
10:23
created

telegram::fileLink()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 4
c 0
b 0
f 0
nc 2
nop 1
dl 0
loc 6
rs 10
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
}