@@ -113,7 +113,7 @@ |
||
113 | 113 | * @param \Pterodactyl\Models\Node $node |
114 | 114 | * @param int $memory |
115 | 115 | * @param int $disk |
116 | - * @return bool Returns true if this information would not put the node over it's limit. |
|
116 | + * @return boolean|null Returns true if this information would not put the node over it's limit. |
|
117 | 117 | */ |
118 | 118 | protected static function checkNodeAllocation(Models\Node $node, $memory, $disk) |
119 | 119 | { |
@@ -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() |
@@ -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 | { |
@@ -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 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * Setup request object for transformer. |
53 | 53 | * |
54 | 54 | * @param \Illuminate\Http\Request|bool $request |
55 | - * @return void |
|
55 | + * @return callable |
|
56 | 56 | */ |
57 | 57 | public function __construct($request = false) |
58 | 58 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Return the nodes associated with this location. |
78 | 78 | * |
79 | - * @return \Leauge\Fractal\Resource\Collection |
|
79 | + * @return null|\League\Fractal\Resource\Collection |
|
80 | 80 | */ |
81 | 81 | public function includeAllocations(Node $node) |
82 | 82 | { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * Return the nodes associated with this location. |
92 | 92 | * |
93 | - * @return \Leauge\Fractal\Resource\Item |
|
93 | + * @return null|\League\Fractal\Resource\Item |
|
94 | 94 | */ |
95 | 95 | public function includeLocation(Node $node) |
96 | 96 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Return the nodes associated with this location. |
106 | 106 | * |
107 | - * @return \Leauge\Fractal\Resource\Collection |
|
107 | + * @return null|\League\Fractal\Resource\Collection |
|
108 | 108 | */ |
109 | 109 | public function includeServers(Node $node) |
110 | 110 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * Setup request object for transformer. |
54 | 54 | * |
55 | 55 | * @param \Illuminate\Http\Request|bool $request |
56 | - * @return void |
|
56 | + * @return callable |
|
57 | 57 | */ |
58 | 58 | public function __construct($request = false) |
59 | 59 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Return the parent service for this service option. |
79 | 79 | * |
80 | - * @return \Leauge\Fractal\Resource\Collection |
|
80 | + * @return null|\League\Fractal\Resource\Item |
|
81 | 81 | */ |
82 | 82 | public function includeService(ServiceOption $option) |
83 | 83 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * Return the packs associated with this service option. |
93 | 93 | * |
94 | - * @return \Leauge\Fractal\Resource\Collection |
|
94 | + * @return null|\League\Fractal\Resource\Collection |
|
95 | 95 | */ |
96 | 96 | public function includePacks(ServiceOption $option) |
97 | 97 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Return the servers associated with this service option. |
107 | 107 | * |
108 | - * @return \Leauge\Fractal\Resource\Collection |
|
108 | + * @return null|\League\Fractal\Resource\Collection |
|
109 | 109 | */ |
110 | 110 | public function includeServers(ServiceOption $option) |
111 | 111 | { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | /** |
120 | 120 | * Return the variables for this service option. |
121 | 121 | * |
122 | - * @return \Leauge\Fractal\Resource\Collection |
|
122 | + * @return null|\League\Fractal\Resource\Collection |
|
123 | 123 | */ |
124 | 124 | public function includeVariables(ServiceOption $option) |
125 | 125 | { |