Completed
Push — develop ( 6dca76...ee82d0 )
by Evan
02:29
created

NegatedCallback   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 14
c 0
b 0
f 0
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A callArray() 0 4 1
1
<?php
2
3
namespace Silk\Support;
4
5
class NegatedCallback extends Callback
6
{
7
    /**
8
     * Call the target callable, with an array of arguments
9
     *
10
     * @param  array $arguments The parameters to be passed to the callback, as an indexed array.
11
     *
12
     * @return mixed             Returns the return value of the callback, or FALSE on error.
13
     */
14
    public function callArray(array $arguments = [])
15
    {
16
        return ! parent::callArray($arguments);
17
    }
18
}
19