added varcomment to every plugin

This commit is contained in:
kremsy 2013-12-30 16:52:26 +01:00
parent 765e648cb8
commit 98c69af28d
9 changed files with 9 additions and 7 deletions

View File

@ -140,6 +140,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
$i = 1; $i = 1;
$y -= 10; $y -= 10;
foreach($players as $listPlayer){ foreach($players as $listPlayer){
/** @var Player $listPlayer */
$path = $listPlayer->getProvince(); $path = $listPlayer->getProvince();
$playerFrame = new Frame(); $playerFrame = new Frame();

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 30.12.13
* Time: 11:41
*/
namespace ManiaControl\Plugins; namespace ManiaControl\Plugins;
@ -31,6 +25,7 @@ class ChatMessagePlugin implements CommandListener, Plugin {
/** /**
* Private properties * Private properties
*/ */
/** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
/** /**

View File

@ -24,6 +24,7 @@ class ChatlogPlugin implements CallbackListener, Plugin {
/** /**
* Private properties * Private properties
*/ */
/** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
private $fileName = null; private $fileName = null;
private $logServerMessages = true; private $logServerMessages = true;

View File

@ -23,6 +23,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin {
/** /**
* Private properties * Private properties
*/ */
/** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
private $openBills = array(); private $openBills = array();

View File

@ -20,6 +20,7 @@ class EndurancePlugin implements CallbackListener, Plugin {
/** /**
* Private properties * Private properties
*/ */
/** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
private $currentMap = null; private $currentMap = null;
private $playerLapTimes = array(); private $playerLapTimes = array();

View File

@ -35,6 +35,7 @@ class KarmaPlugin implements CallbackListener, Plugin {
/** /**
* Private properties * Private properties
*/ */
/** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
private $updateManialink = false; private $updateManialink = false;
private $manialink = null; private $manialink = null;

View File

@ -36,6 +36,7 @@ class LocalRecordsPlugin implements CallbackListener, Plugin {
/** /**
* Private properties * Private properties
*/ */
/** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
private $updateManialink = false; private $updateManialink = false;

View File

@ -26,6 +26,7 @@ class ObstaclePlugin implements CallbackListener, CommandListener, Plugin {
/** /**
* Private Properties * Private Properties
*/ */
/** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
/** /**

View File

@ -54,7 +54,7 @@ class WidgetPlugin implements CallbackListener, Plugin {
/** /**
* Private Properties * Private Properties
*/ */
/** @var maniaControl */ /** @var maniaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
/** /**