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.

Export_MapRecord   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 4
Bugs 2 Features 1
Metric Value
wmc 2
c 4
b 2
f 1
lcom 0
cbo 0
dl 0
loc 25
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTableName() 0 4 1
A defineAttributes() 0 7 1
1
<?php
2
3
namespace Craft;
4
5
/**
6
 * Export Map Record.
7
 *
8
 * Represents the export_map database table
9
 *
10
 * @author    Bob Olde Hampsink <[email protected]>
11
 * @copyright Copyright (c) 2015, Bob Olde Hampsink
12
 * @license   MIT
13
 *
14
 * @link      http://github.com/boboldehampsink
15
 */
16
class Export_MapRecord extends BaseRecord
17
{
18
    /**
19
     * Get table name.
20
     *
21
     * @return string
22
     */
23
    public function getTableName()
24
    {
25
        return 'export_map';
26
    }
27
28
    /**
29
     * Define table attributes.
30
     *
31
     * @return array
32
     */
33
    protected function defineAttributes()
34
    {
35
        return array(
36
            'settings' => AttributeType::Mixed,
37
            'map' => AttributeType::Mixed,
38
        );
39
    }
40
}
41