File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ public function handle()
47
47
$ plugin ->is_disabled = true ;
48
48
$ plugin ->save ();
49
49
50
-
51
50
$ this ->output ->writeln (sprintf ('<info>%s:</info> disabled. ' , $ pluginName ));
52
51
}
53
52
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function __construct()
48
48
/**
49
49
* Execute the console command.
50
50
*
51
- * @return mixed
51
+ * @return void
52
52
*/
53
53
public function handle ()
54
54
{
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ public function __construct()
44
44
45
45
/**
46
46
* Execute the console command.
47
+ * @return int
47
48
*/
48
49
public function handle ()
49
50
{
@@ -57,7 +58,7 @@ public function handle()
57
58
->firstOrFail ();
58
59
} catch (ModelNotFoundException $ e ) {
59
60
$ this ->error ('The specified user does not exist. ' );
60
- exit ( 1 ) ;
61
+ return 1 ;
61
62
}
62
63
63
64
$ password = $ this ->argument ('password ' )
@@ -77,7 +78,7 @@ public function handle()
77
78
if ($ this ->generatedPassword ) {
78
79
$ this ->output ->writeLn ('Password set to <info> ' . $ password . '</info>. ' );
79
80
}
80
- exit ( 0 ) ;
81
+ return 0 ;
81
82
}
82
83
83
84
/**
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function __construct()
42
42
/**
43
43
* Execute the console command.
44
44
*
45
- * @return mixed
45
+ * @return void
46
46
*/
47
47
public function handle ()
48
48
{
You can’t perform that action at this time.
0 commit comments