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 ( d27261...cbe128 )
by Dave
33:31
created

Boolean   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A toArray() 0 5 1
1
<?php
2
3
namespace SleepingOwl\Admin\Display\Column;
4
5
class Boolean extends NamedColumn
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $view = 'column.boolean';
11
12
    /**
13
     * @var bool
14
     */
15
    protected $isSearchable = false;
16
17
    /**
18
     * @var bool
19
     */
20
    protected $orderable = false;
21
22
    /**
23
     * @return array
24
     */
25
    public function toArray()
26
    {
27
        return parent::toArray() + [
28
            'value'  => $this->getModelValue(),
29
            'small' => $this->getModelSmallValue(),
30
        ];
31
    }
32
}
33