Code Duplication    Length = 7-7 lines in 2 locations

src/NotifyProcessing.php 2 locations

@@ 32-38 (lines=7) @@
29
     *
30
     * @return mixed
31
     */
32
    public function Authorized($xml_array)
33
    {
34
        $key = 'authorized:' . $xml_array['AppId'] . ':' . $xml_array['AuthorizerAppid'];
35
        self::$databaseDriver->_set($key, $xml_array);
36
37
        return $xml_array;
38
    }
39
40
    /**
41
     * UpdateAuthorized
@@ 47-53 (lines=7) @@
44
     *
45
     * @return mixed
46
     */
47
    public function UpdateAuthorized($xml_array)
48
    {
49
        $key = 'authorized:' . $xml_array['AppId'] . ':' . $xml_array['AuthorizerAppid'];
50
        self::$databaseDriver->_set($key, $xml_array);
51
52
        return $xml_array;
53
    }
54
55
    /**
56
     * @param $xml_array