Completed
Push — master ( 694417...116d3c )
by Dominik
04:44
created
Controller/AzineHybridAuthJsonController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,8 @@
 block discarded – undo
3 3
 namespace Azine\HybridAuthBundle\Controller;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\RedirectResponse;
6
-
7 6
 use Symfony\Component\HttpFoundation\JsonResponse;
8
-
9 7
 use Symfony\Component\HttpFoundation\Request;
10
-
11 8
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
12 9
 
13 10
 class AzineHybridAuthJsonController extends Controller {
Please login to merge, or discard this patch.
Controller/HybridEndPointController.php 1 patch
Unused Use Statements   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,14 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Azine\HybridAuthBundle\Controller;
4 4
 
5
-use Symfony\Component\HttpFoundation\ParameterBag;
6
-
7
-use Symfony\Component\HttpFoundation\RedirectResponse;
8
-
9
-use Symfony\Component\HttpFoundation\Response;
10
-
11
-use Symfony\Component\HttpFoundation\Request;
12
-
5
+use Symfony\Component\HttpFoundation\ParameterBag;
6
+use Symfony\Component\HttpFoundation\RedirectResponse;
7
+use Symfony\Component\HttpFoundation\Response;
8
+use Symfony\Component\HttpFoundation\Request;
13 9
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
14 10
 
15 11
 class HybridEndPointController extends Controller {
Please login to merge, or discard this patch.
Services/AzineHybridAuth.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	 * HybridAuthSessions will be restored from DB and/or cookies, according to the bundle configuration.
78 78
 	 *
79 79
 	 * @param $cookieSessionData
80
-	 * @param $provider
80
+	 * @param string $provider
81 81
 	 * @return \Hybrid_Auth
82 82
 	 */
83 83
 	public function getInstance($cookieSessionData, $provider){
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 	 * @param $authSessionData
178 178
 	 * @param string $provider_id
179 179
 	 * @param boolean $require_login
180
-	 * @return \Hybrid_Provider_Model
180
+	 * @return \Hybrid_Provider_Adapter
181 181
 	 */
182 182
 	public function getProvider($authSessionData, $provider_id, $require_login = true){
183 183
 		$adapter = $this->getInstance($authSessionData, $provider_id)->getAdapter($provider_id);
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	
203 203
 	/**
204 204
      * Get the Xing Adapter
205
-     * @return \Hybrid_Providers_XING
205
+     * @return \Hybrid_Provider_Adapter
206 206
      */
207 207
 	public function getXing(){
208 208
 		return $this->getProvider(null, "xing");
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 	/**
221 221
 	 * Get the LinkedIn Adapter
222 222
 	 *
223
-	 * @return \Hybrid_Providers_LinkedIn
223
+	 * @return \Hybrid_Provider_Adapter
224 224
 	 */
225 225
 	public function getLinkedIn(){
226 226
 		return $this->getProvider(null, "linkedin");
Please login to merge, or discard this patch.