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

NegatedCallback::callArray()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
rs 10
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