GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 804d88...9de2aa )
by t
02:26
created

iSchemaBuilderTrait   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 21
rs 10
wmc 2
1
<?php
2
/**
3
 * Class iSchemaBuilderTrait
4
 *
5
 * @link https://www.icy2003.com/
6
 * @author icy2003 <[email protected]>
7
 * @copyright Copyright (c) 2017, icy2003
8
 */
9
10
namespace icy2003\php\iexts\yii2\db;
11
12
use icy2003\php\iexts\yii2\db\mysql\Schema;
13
14
/**
15
 * iSchemaBuilderTrait 扩展
16
 */
17
trait iSchemaBuilderTrait
18
{
19
20
    /**
21
     * 返回 mediumtext
22
     *
23
     * @return yii\db\ColumnSchemaBuilder
24
     */
25
    public function mediumtext()
26
    {
27
        return $this->getDb()->getSchema()->createColumnSchemaBuilder(Schema::TYPE_MEDIUMTEXT);
28
    }
29
30
    /**
31
     * 返回 longtext
32
     *
33
     * @return yii\db\ColumnSchemaBuilder
34
     */
35
    public function longtext()
36
    {
37
        return $this->getDb()->getSchema()->createColumnSchemaBuilder(Schema::TYPE_LONGTEXT);
38
    }
39
}
40