File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ public function &onUserSet(callable $value)
277
277
return $ this ;
278
278
}
279
279
280
- public function &setOnUserDeauthenticated (callable $ value )
280
+ public function &onUserDeauthenticated (callable $ value )
281
281
{
282
282
$ this ->on_user_deauthenticated [] = $ value ;
283
283
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public function &onUserSet(callable $value);
110
110
* @param callable $value
111
111
* @return $this
112
112
*/
113
- public function &setOnUserDeauthenticated (callable $ value );
113
+ public function &onUserDeauthenticated (callable $ value );
114
114
115
115
/**
116
116
* Use onUserSet() instead.
Original file line number Diff line number Diff line change @@ -68,14 +68,14 @@ public function testOnUserDeauthenticated()
68
68
$ authentication = $ this ->prepareForAuthentication ();
69
69
70
70
$ first_callback_called = false ;
71
- $ authentication ->setOnUserDeauthenticated (function () use (&$ first_callback_called ) {
71
+ $ authentication ->onUserDeauthenticated (function () use (&$ first_callback_called ) {
72
72
$ this ->validateOnUserDeauthenticatedArguments (func_get_args ());
73
73
74
74
$ first_callback_called = true ;
75
75
});
76
76
77
77
$ secon_callback_called = false ;
78
- $ authentication ->setOnUserDeauthenticated (function () use (&$ secon_callback_called ) {
78
+ $ authentication ->onUserDeauthenticated (function () use (&$ secon_callback_called ) {
79
79
$ this ->validateOnUserDeauthenticatedArguments (func_get_args ());
80
80
81
81
$ secon_callback_called = true ;
You can’t perform that action at this time.
0 commit comments