improved phpdoc
This commit is contained in:
parent
5e8b2623e6
commit
51651623f2
@ -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);
|
||||||
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user