Code Duplication    Length = 9-9 lines in 2 locations

src/Notifynder/Builder/BuilderRules.php 1 location

@@ 150-158 (lines=9) @@
147
     * @param $arr
148
     * @return bool
149
     */
150
    public function isMultidimensionalArray($arr)
151
    {
152
        $rv = array_filter($arr, 'is_array');
153
        if (count($rv) > 0) {
154
            return true;
155
        }
156
157
        return false;
158
    }
159
}
160

src/Notifynder/Senders/SenderFactory.php 1 location

@@ 111-119 (lines=9) @@
108
     * @param $arr
109
     * @return bool
110
     */
111
    protected function isMultiArray(array $arr)
112
    {
113
        $rv = array_filter($arr, 'is_array');
114
        if (count($rv) > 0) {
115
            return true;
116
        }
117
118
        return false;
119
    }
120
}
121