Code Duplication    Length = 7-7 lines in 2 locations

src/Event/Subscriber/RedirectSubscriber.php 1 location

@@ 123-129 (lines=7) @@
120
    /**
121
     * {@inheritdoc}
122
     */
123
    public static function getSubscribedEvents()
124
    {
125
        return [
126
            Events::REQUEST_SENT       => ['onRequestSent', 0],
127
            Events::MULTI_REQUEST_SENT => ['onMultiRequestSent', 0],
128
        ];
129
    }
130
}
131

src/Event/Subscriber/StatusCodeSubscriber.php 1 location

@@ 86-92 (lines=7) @@
83
    /**
84
     * {@inheritdoc}
85
     */
86
    public static function getSubscribedEvents()
87
    {
88
        return [
89
            Events::REQUEST_SENT       => ['onRequestSent', 200],
90
            Events::MULTI_REQUEST_SENT => ['onMultiRequestSent', 200],
91
        ];
92
    }
93
94
    /**
95
     * @param ResponseInterface        $response