Test Setup Failed
Push — master ( be854f...06dd95 )
by
unknown
02:07
created
src/Charcoal/Translator/Middleware/LanguageMiddleware.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 
172 172
     /**
173 173
      * @param  RequestInterface $request The PSR-7 HTTP request.
174
-     * @return null|string
174
+     * @return string
175 175
      */
176 176
     private function getLanguage(RequestInterface $request)
177 177
     {
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
     }
283 283
 
284 284
     /**
285
-     * @return mixed
285
+     * @return string
286 286
      */
287 287
     private function getLanguageFromBrowser()
288 288
     {
Please login to merge, or discard this patch.