SocialProvider
last analyzed

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
redirect() 0 1 ?
1
<?php
2
3
namespace Acacha\LaravelSocial\Contracts;
4
5
/**
6
 * Interface Provider.
7
 *
8
 * @package Acacha\LaravelSocial\Contracts
9
 */
10
interface SocialProvider
11
{
12
    /**
13
     * Redirect the user to the authentication page for the provider.
14
     *
15
     * @return \Symfony\Component\HttpFoundation\RedirectResponse
16
     */
17
    public function redirect();
18
    /**
19
     * Get the User instance for the authenticated user.
20
     *
21
     * @return \Laravel\Socialite\Contracts\User
22
     */
23
//    public function user();
0 ignored issues
show
Unused Code Comprehensibility introduced by
56% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
24
}
25