1 | <?php |
||
11 | class EloquentSocialUserRepository implements SocialUserRepository |
||
12 | { |
||
13 | use UserModel; |
||
14 | |||
15 | /** |
||
16 | * Social network. |
||
17 | * |
||
18 | * @var |
||
19 | */ |
||
20 | protected $provider; |
||
21 | |||
22 | /** |
||
23 | * Return user if exists; create and return if doesn't. |
||
24 | * |
||
25 | * @param $socialUser |
||
26 | * @return User |
||
27 | */ |
||
28 | public function findOrCreateUser($socialUser) |
||
35 | |||
36 | /** |
||
37 | * Find social user. |
||
38 | * |
||
39 | * @param $socialUser |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function find($socialUser) |
||
47 | |||
48 | /** |
||
49 | * Create social user. |
||
50 | * |
||
51 | * @param $socialUser |
||
52 | * @return mixed |
||
53 | */ |
||
54 | public function createSocialUser($socialUser) |
||
68 | |||
69 | /** |
||
70 | * Returns field name to use at login. |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | private function username() |
||
78 | |||
79 | /** |
||
80 | * Set provider |
||
81 | * |
||
82 | * @param $provider |
||
83 | * @return $this |
||
84 | */ |
||
85 | public function provider($provider) |
||
90 | |||
91 | /** |
||
92 | * Create regular user. |
||
93 | * |
||
94 | * @param $socialUser |
||
95 | * @return mixed |
||
96 | */ |
||
97 | private function createUser($socialUser) |
||
109 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.