Skip to content

Commit bccbb30

Browse files
committed
Fix broken descriptors
1 parent 871b735 commit bccbb30

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
6666
/**
6767
* A list of mass-assignable variables.
6868
*
69-
* @var [type]
69+
* @var array
7070
*/
7171
protected $fillable = ['username', 'email', 'name_first', 'name_last', 'password', 'language', 'use_totp', 'totp_secret', 'gravatar', 'root_admin'];
7272

app/Repositories/DatabaseRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function drop($id)
199199
* Deletes a database server from the system if it is empty.
200200
*
201201
* @param int $server The ID of the Database Server.
202-
* @return
202+
* @return bool
203203
*/
204204
public function delete($server)
205205
{

app/Services/DeploymentService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function randomNode($location, array $not = [])
7979
* @param int $memory
8080
* @param int $disk
8181
* @param int $location
82-
* @return \Pterodactyl\Models\Node;
82+
* @return \Pterodactyl\Models\Node
8383
*
8484
* @throws \Pterodactyl\Exceptions\DisplayException
8585
*/
@@ -103,7 +103,7 @@ public static function smartRandomNode($memory, $disk, $location = null)
103103
/**
104104
* Returns a random allocation for a node.
105105
* @param int $node
106-
* @return \Models\Pterodactyl\Allocation;
106+
* @return \Models\Pterodactyl\Allocation
107107
*/
108108
public static function randomAllocation($node)
109109
{

0 commit comments

Comments
 (0)