diff --git a/deploy/lib/control/NpcController.php b/deploy/lib/control/NpcController.php index ab3dbd51c..9d5074fc5 100644 --- a/deploy/lib/control/NpcController.php +++ b/deploy/lib/control/NpcController.php @@ -261,7 +261,7 @@ private function startRandomEncounter() { * Attack a specific npc * * @param Container - * @return Response + * @return StreamedViewResponse */ public function attack(Container $p_dependencies) { $request = RequestWrapper::$request; diff --git a/deploy/lib/data/Player.php b/deploy/lib/data/Player.php index a0b28dcdc..0acff1450 100644 --- a/deploy/lib/data/Player.php +++ b/deploy/lib/data/Player.php @@ -798,11 +798,10 @@ public static function validStatus($dirty) { } /** - * Returns a comma-seperated string of states based on the statuses of the target. + * Get the different statuses a character is affected by. * - * @param array $statuses status array - * @param string $target the target, username if self targetting. - * @return string + * @param int|null $target the target id, username if self targetting. + * @return String[] * */ public static function getStatusList($target=null) {