Code Duplication    Length = 11-11 lines in 2 locations

src/Event/Subscriber/CookieSubscriber.php 1 location

@@ 113-123 (lines=11) @@
110
    /**
111
     * {@inheritdoc}
112
     */
113
    public static function getSubscribedEvents()
114
    {
115
        return [
116
            Events::REQUEST_CREATED       => ['onRequestCreated', 300],
117
            Events::REQUEST_SENT          => ['onRequestSent', 300],
118
            Events::REQUEST_ERRORED       => ['onRequestErrored', 300],
119
            Events::MULTI_REQUEST_CREATED => ['onMultiRequestCreated', 300],
120
            Events::MULTI_REQUEST_SENT    => ['onMultiRequestSent', 300],
121
            Events::MULTI_REQUEST_ERRORED => ['onMultiResponseErrored', 300],
122
        ];
123
    }
124
}
125

src/Event/Subscriber/LoggerSubscriber.php 1 location

@@ 123-133 (lines=11) @@
120
    /**
121
     * {@inheritdoc}
122
     */
123
    public static function getSubscribedEvents()
124
    {
125
        return [
126
            Events::REQUEST_CREATED       => ['onRequestCreated', 100],
127
            Events::REQUEST_SENT          => ['onRequestSent', 100],
128
            Events::REQUEST_ERRORED       => ['onRequestErrored', 100],
129
            Events::MULTI_REQUEST_CREATED => ['onMultiRequestCreated', 100],
130
            Events::MULTI_REQUEST_SENT    => ['onMultiRequestSent', 100],
131
            Events::MULTI_REQUEST_ERRORED => ['onMultiResponseErrored', 100],
132
        ];
133
    }
134
135
    /**
136
     * @param HttpAdapterInterface     $httpAdapter