improved phpdoc

This commit is contained in:
Steffen Schröder 2014-05-07 22:10:35 +02:00
parent 5e8b2623e6
commit 51651623f2

View File

@ -21,7 +21,7 @@ class TimerManager {
/** /**
* Construct a new Timer Manager * Construct a new Timer Manager
* *
* @param \ManiaControl\ManiaControl $maniaControl * @param ManiaControl $maniaControl
*/ */
public function __construct(ManiaControl $maniaControl) { public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl; $this->maniaControl = $maniaControl;
@ -31,8 +31,8 @@ class TimerManager {
* Registers a One Time Listening * Registers a One Time Listening
* *
* @param TimerListener $listener * @param TimerListener $listener
* @param $method * @param string $method
* @param $time * @param float $time
*/ */
public function registerOneTimeListening(TimerListener $listener, $method, $time) { public function registerOneTimeListening(TimerListener $listener, $method, $time) {
$this->registerTimerListening($listener, $method, $time, true); $this->registerTimerListening($listener, $method, $time, true);
@ -41,10 +41,10 @@ class TimerManager {
/** /**
* Register a Timer Listening, note < 10ms it can get inaccurate * Register a Timer Listening, note < 10ms it can get inaccurate
* *
* @param TimerListener $listener * @param TimerListener $listener
* @param string $method * @param string $method
* @param float $time * @param float $time
* @param bool $oneTime * @param bool $oneTime
* @return bool * @return bool
*/ */
public function registerTimerListening(TimerListener $listener, $method, $time, $oneTime = false) { public function registerTimerListening(TimerListener $listener, $method, $time, $oneTime = false) {
@ -74,7 +74,7 @@ class TimerManager {
* Unregister a Timer Listening * Unregister a Timer Listening
* *
* @param TimerListener $listener * @param TimerListener $listener
* @param $method * @param string $method
* @return bool * @return bool
*/ */
public function unregisterTimerListening(TimerListener $listener, $method) { public function unregisterTimerListening(TimerListener $listener, $method) {