Completed
Pull Request — master (#9)
by ARCANEDEV
04:52
created

FileMoved::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
nc 1
nop 3
crap 1
1
<?php namespace Arcanesoft\Media\Events;
2
3
/**
4
 * Class     FileMoved
5
 *
6
 * @package  Arcanesoft\Media\Events
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class FileMoved
10
{
11
    /* -----------------------------------------------------------------
12
     |  Properties
13
     | -----------------------------------------------------------------
14
     */
15
16
    /** @var string */
17
    public $from;
18
19
    /** @var string */
20
    public $to;
21
22
    /* -----------------------------------------------------------------
23
     |  Constructor
24
     | -----------------------------------------------------------------
25
     */
26
27
    /**
28
     * FileMoved constructor.
29
     *
30
     * @param  string  $from
31
     * @param  string  $to
32
     * @param  bool    $moved
33
     */
34 8
    public function __construct($from, $to, $moved)
0 ignored issues
show
Unused Code introduced by
The parameter $moved is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
35
    {
36 8
        $this->from = $from;
37 8
        $this->to   = $to;
38 8
    }
39
}
40