File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/Http/Requests/Api/Application/Servers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44
55use Pterodactyl \Models \Server ;
66use Illuminate \Validation \Rule ;
7+ use Illuminate \Validation \Validator ;
78use Pterodactyl \Services \Acl \Api \AdminAcl ;
8- use Illuminate \Contracts \Validation \Validator ;
99use Pterodactyl \Models \Objects \DeploymentObject ;
1010use Pterodactyl \Http \Requests \Api \Application \ApplicationApiRequest ;
1111
@@ -108,9 +108,9 @@ public function validated()
108108 /*
109109 * Run validation after the rules above have been applied.
110110 *
111- * @param \Illuminate\Contracts\ Validation\Validator $validator
111+ * @param \Illuminate\Validation\Validator $validator
112112 */
113- public function withValidator (Validator $ validator )
113+ public function withValidator (Validator $ validator ): void
114114 {
115115 $ validator ->sometimes ('allocation.default ' , [
116116 'required ' , 'integer ' , 'bail ' ,
You can’t perform that action at this time.
0 commit comments