Completed
Push — master ( ee5cc4...718b8e )
by Carlos
02:52
created

Temporary::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 6
ccs 0
cts 5
cp 0
crap 2
rs 9.4285
1
<?php
2
3
/*
4
 * This file is part of the overtrue/wechat.
5
 *
6
 * (c) overtrue <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
/**
13
 * Temporary.php.
14
 *
15
 * @author    mingyoung <[email protected]>
16
 *
17
 * @see      https://github.com/overtrue
18
 * @see      http://overtrue.me
19
 */
20
21
namespace EasyWeChat\MiniProgram\Material;
22
23
use EasyWeChat\Material\Temporary as BaseTemporary;
24
25
/**
26
 * Class Temporary.
27
 */
28
class Temporary extends BaseTemporary
29
{
30
    public function __construct()
31
    {
32
        $accessToken = func_get_args()[0];
33
34
        parent::__construct($accessToken);
35
    }
36
}
37