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 ( 3b18d6...8b5860 )
by soheil
05:39
created

Fillable   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A fill() 0 6 2
1
<?php
2
3
4
namespace Soheilrt\AdobeConnectClient\Client\Traits;
5
6
7
trait Fillable
8
{
9
    use Setter;
10
11
    /**
12
     * Mass assigment attributes
13
     *
14
     * @param array $attributes
15
     *
16
     * @return static
17
     */
18
    public function fill(array $attributes)
19
    {
20
        foreach ($attributes as $name=>$value){
21
            $this->__set($name,$value);
22
        }
23
        return $this;
24
    }
25
}