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 — analysis-rdw4o3 ( a6c473 )
by butschster
12:11
created

Width   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 5
dl 0
loc 25
rs 10
c 2
b 1
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getWidth() 0 3 1
A setWidth() 0 5 1
1
<?php
2
3
namespace SleepingOwl\Admin\Traits;
4
5
trait Width
6
{
7
    /**
8
     * @var int|array|string
9
     */
10
    protected $width;
11
12
    /**
13
     * @param int|array|string $width
14
     *
15
     * @return $this
16
     */
17
    public function setWidth($width)
18
    {
19
        $this->width = $width;
20
21
        return $this;
22
    }
23
24
    /**
25
     * @return int|array|string
26
     */
27
    public function getWidth()
28
    {
29
        return $this->width;
30
    }
31
}
32