Code Duplication    Length = 11-11 lines in 2 locations

src/Event/Subscriber/CookieSubscriber.php 1 location

@@ 129-139 (lines=11) @@
126
    /**
127
     * {@inheritdoc}
128
     */
129
    public static function getSubscribedEvents()
130
    {
131
        return array(
132
            Events::REQUEST_CREATED       => array('onRequestCreated', 300),
133
            Events::REQUEST_SENT          => array('onRequestSent', 300),
134
            Events::REQUEST_ERRORED       => array('onRequestErrored', 300),
135
            Events::MULTI_REQUEST_CREATED => array('onMultiRequestCreated', 300),
136
            Events::MULTI_REQUEST_SENT    => array('onMultiRequestSent', 300),
137
            Events::MULTI_REQUEST_ERRORED => array('onMultiResponseErrored', 300),
138
        );
139
    }
140
}
141

src/Event/Subscriber/LoggerSubscriber.php 1 location

@@ 139-149 (lines=11) @@
136
    /**
137
     * {@inheritdoc}
138
     */
139
    public static function getSubscribedEvents()
140
    {
141
        return array(
142
            Events::REQUEST_CREATED       => array('onRequestCreated', 100),
143
            Events::REQUEST_SENT          => array('onRequestSent', 100),
144
            Events::REQUEST_ERRORED       => array('onRequestErrored', 100),
145
            Events::MULTI_REQUEST_CREATED => array('onMultiRequestCreated', 100),
146
            Events::MULTI_REQUEST_SENT    => array('onMultiRequestSent', 100),
147
            Events::MULTI_REQUEST_ERRORED => array('onMultiResponseErrored', 100),
148
        );
149
    }
150
151
    /**
152
     * Logs debug.