Code Duplication    Length = 4-4 lines in 2 locations

src/Object/JailObject.php 2 locations

@@ 63-66 (lines=4) @@
60
61
        // Check if our function call is a jailed call, meaning the function should be mapped to special "jailed"
62
        // jailed version of the function call.
63
        if (in_array($getFxnCall, $this->jailedFunctions))
64
        {
65
            return call_user_func_array(array($this->object, $this->jailedFunctions[$getFxnCall]), $arguments);
66
        }
67
68
        // Otherwise, test to see if the function call is in our white list and call it
69
        if (in_array($getFxnCall, $this->whiteListFunctions))
@@ 69-72 (lines=4) @@
66
        }
67
68
        // Otherwise, test to see if the function call is in our white list and call it
69
        if (in_array($getFxnCall, $this->whiteListFunctions))
70
        {
71
            return call_user_func_array(array($this->object, $getFxnCall), $arguments);
72
        }
73
74
        // Functions should take precedence over __get(), so if it's not a function we'll search to see if the __get()
75
        // handles it