@@ -19,7 +19,6 @@ |
||
19 | 19 | /** |
20 | 20 | * Register any application authentication / authorization services. |
21 | 21 | * |
22 | - * @param \Illuminate\Contracts\Auth\Access\Gate $gate |
|
23 | 22 | * @return void |
24 | 23 | */ |
25 | 24 | public function boot() |
@@ -56,7 +56,7 @@ |
||
56 | 56 | * Handles POST request to create a new option. |
57 | 57 | * |
58 | 58 | * @param \Illuminate\Http\Request $request |
59 | - * @return \Illuminate\Response\RedirectResponse |
|
59 | + * @return \Illuminate\Http\RedirectResponse |
|
60 | 60 | */ |
61 | 61 | public function store(Request $request) |
62 | 62 | { |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * Handle create pack request and route user to location. |
85 | 85 | * |
86 | 86 | * @param \Illuminate\Http\Request $request |
87 | - * @return \Illuminate\View\View |
|
87 | + * @return \Illuminate\Http\RedirectResponse |
|
88 | 88 | */ |
89 | 89 | public function store(Request $request) |
90 | 90 | { |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * Create server controller method. |
85 | 85 | * |
86 | 86 | * @param \Illuminate\Http\Request $request |
87 | - * @return \Illuminate\Response\RedirectResponse |
|
87 | + * @return \Illuminate\Http\RedirectResponse |
|
88 | 88 | */ |
89 | 89 | public function store(Request $request) |
90 | 90 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * Constructor for API Repository. |
56 | 56 | * |
57 | 57 | * @param null|\Pterodactyl\Models\User $user |
58 | - * @return void |
|
58 | + * @return string |
|
59 | 59 | */ |
60 | 60 | public function __construct(User $user = null) |
61 | 61 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | /** |
41 | 41 | * Constuctor for repository. |
42 | 42 | * |
43 | - * @param int|\Pterodactyl\Models\Server $server |
|
43 | + * @param Models\Server $server |
|
44 | 44 | * @return void |
45 | 45 | */ |
46 | 46 | public function __construct($server) |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * Sends a power option to the daemon. |
53 | 53 | * |
54 | 54 | * @param string $action |
55 | - * @return string |
|
55 | + * @return \Psr\Http\Message\StreamInterface |
|
56 | 56 | * |
57 | 57 | * @throws \GuzzleHttp\Exception\RequestException |
58 | 58 | * @throws \Pterodactyl\Exceptions\DisplayException |
@@ -858,7 +858,7 @@ |
||
858 | 858 | * |
859 | 859 | * @param int $id |
860 | 860 | * @param string $password |
861 | - * @return void |
|
861 | + * @return boolean |
|
862 | 862 | * |
863 | 863 | * @throws \Pterodactyl\Exceptions\DisplayValidationException |
864 | 864 | */ |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * |
50 | 50 | * @param \Illuminate\Http\Request|bool $request |
51 | 51 | * @param bool $filter |
52 | - * @return void |
|
52 | + * @return callable |
|
53 | 53 | */ |
54 | 54 | public function __construct($request = false, $filter = false) |
55 | 55 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * Setup request object for transformer. |
52 | 52 | * |
53 | 53 | * @param \Illuminate\Http\Request|bool $request |
54 | - * @return void |
|
54 | + * @return callable |
|
55 | 55 | */ |
56 | 56 | public function __construct($request = false) |
57 | 57 | { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * Return the nodes associated with this location. |
77 | 77 | * |
78 | - * @return \Leauge\Fractal\Resource\Collection |
|
78 | + * @return null|\League\Fractal\Resource\Collection |
|
79 | 79 | */ |
80 | 80 | public function includeServers(Location $location) |
81 | 81 | { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | /** |
90 | 90 | * Return the nodes associated with this location. |
91 | 91 | * |
92 | - * @return \Leauge\Fractal\Resource\Collection |
|
92 | + * @return null|\League\Fractal\Resource\Collection |
|
93 | 93 | */ |
94 | 94 | public function includeNodes(Location $location) |
95 | 95 | { |