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

@@ 143-151 (lines=9) @@
140
     * @param $arr
141
     * @return bool
142
     */
143
    public function isMultidimensionalArray($arr)
144
    {
145
        $rv = array_filter($arr, 'is_array');
146
        if (count($rv) > 0) {
147
            return true;
148
        }
149
150
        return false;
151
    }
152
}
153