Code Duplication    Length = 7-7 lines in 2 locations

src/ABS/Dispatcher/MapDispatcher.php 1 location

@@ 118-124 (lines=7) @@
115
     *
116
     * @return bool success
117
     */
118
    public function notify($name, $subject)
119
    {
120
        if ($this->hasListeners($name)) {
121
            self::doNotify($this->getListeners($name), $subject);
122
123
            return true;
124
        }
125
126
        return false;
127
    }

src/Dispatcher/Dispatcher.php 1 location

@@ 93-99 (lines=7) @@
90
     *
91
     * @return void
92
     */
93
    public function notify($subject)
94
    {
95
        $res = null;
96
        if ($this->hasListeners()) {
97
            $res = self::doNotify($this->getListeners(), $subject);
98
        }
99
100
        return $res;
101
    }
102