Test Failed
Pull Request — master (#122)
by MusikAnimal
06:15
created
src/AppBundle/Controller/QuoteController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @Route("/quote/random", name="quoteRandom")
73 73
      * @Route("/bash/random",  name="bashRandom")
74 74
      *
75
-     * @return RedirectResponse
75
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
76 76
      */
77 77
     public function randomQuoteAction()
78 78
     {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * @Route("/quote/all", name="quoteAll")
96 96
      * @Route("/bash/all",  name="bashAll")
97 97
      *
98
-     * @return Response
98
+     * @return \Symfony\Component\HttpFoundation\Response
99 99
      */
100 100
     public function quoteAllAction()
101 101
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * @Route("/quote/{id}", name="quoteID")
131 131
      * @Route("/bash/{id}",  name="bashID")
132 132
      *
133
-     * @return Response
133
+     * @return \Symfony\Component\HttpFoundation\Response
134 134
      */
135 135
     public function quoteAction($id)
136 136
     {
Please login to merge, or discard this patch.
src/AppBundle/Controller/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     public function loginAction()
90 90
     {
91 91
         try {
92
-            list( $next, $token ) = $this->getOauthClient()->initiate();
92
+            list($next, $token) = $this->getOauthClient()->initiate();
93 93
         } catch (Exception $oauthException) {
94 94
             throw $oauthException;
95 95
             // @TODO Make this work.
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                     . '?title=Special:OAuth';
157 157
         $conf = new ClientConfig($endpoint);
158 158
         $consumerKey = $this->getParameter('oauth_key');
159
-        $consumerSecret =  $this->getParameter('oauth_secret');
159
+        $consumerSecret = $this->getParameter('oauth_secret');
160 160
         $conf->setConsumer(new Consumer($consumerKey, $consumerSecret));
161 161
         $this->oauthClient = new Client($conf);
162 162
         // Callback URL is hardcoded in the consumer registration.
Please login to merge, or discard this patch.