Code Duplication    Length = 4-4 lines in 2 locations

class/references_plugins.php 2 locations

@@ 185-188 (lines=4) @@
182
     */
183
    public function fireAction($eventToFire, references_parameters $parameters = null)
184
    {
185
        if (!isset($this->events[self::PLUGIN_ACTION][$eventToFire])) {
186
            trigger_error(sprintf(_MD_REFERENCES_PLUGINS_ERROR_1, $eventToFire));
187
188
            return $this;
189
        }
190
        ksort($this->events[self::PLUGIN_ACTION][$eventToFire]);    // Tri par priorit�
191
        foreach ($this->events[self::PLUGIN_ACTION][$eventToFire] as $priority => $events) {
@@ 220-223 (lines=4) @@
217
     */
218
    public function fireFilter($eventToFire, references_parameters $parameters)
219
    {
220
        if (!isset($this->events[self::PLUGIN_FILTER][$eventToFire])) {
221
            trigger_error(sprintf(_MD_REFERENCES_PLUGINS_ERROR_1, $eventToFire));
222
223
            return $this;
224
        }
225
        ksort($this->events[self::PLUGIN_FILTER][$eventToFire]);    // Tri par priorité
226
        foreach ($this->events[self::PLUGIN_FILTER][$eventToFire] as $priority => $events) {