Code Duplication    Length = 9-9 lines in 2 locations

src/Notifynder/Senders/SenderFactory.php 1 location

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

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