@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | } |
| 275 | 275 | |
| 276 | 276 | /** |
| 277 | - * @param $key |
|
| 277 | + * @param string $key |
|
| 278 | 278 | */ |
| 279 | 279 | public function keyPressed($key) { |
| 280 | 280 | foreach ($this->methodOnKeyPress as $method) { |
@@ -387,7 +387,7 @@ discard block |
||
| 387 | 387 | |
| 388 | 388 | |
| 389 | 389 | /** |
| 390 | - * @param $tick |
|
| 390 | + * @param integer $tick |
|
| 391 | 391 | */ |
| 392 | 392 | private function updateRamInfo($tick) { |
| 393 | 393 | if (($this->ramUpdate + self::MEMORY_UPDATE) > $tick) { |
@@ -402,8 +402,8 @@ discard block |
||
| 402 | 402 | /** |
| 403 | 403 | * @deprecated - verifier l'interet !? |
| 404 | 404 | * |
| 405 | - * @param $reason |
|
| 406 | - * @param $stop |
|
| 405 | + * @param string $reason |
|
| 406 | + * @param boolean $stop |
|
| 407 | 407 | */ |
| 408 | 408 | public function exception($reason, $stop) { |
| 409 | 409 | if (!$stop) { |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | if ($color !== '') { |
| 245 | - $this->info[$info . 'Colored'] = '<' . $color . '>' . $value . '</' . $color . '>'; |
|
| 245 | + $this->info[$info.'Colored'] = '<'.$color.'>'.$value.'</'.$color.'>'; |
|
| 246 | 246 | } |
| 247 | 247 | |
| 248 | 248 | |
@@ -394,7 +394,7 @@ discard block |
||
| 394 | 394 | return; |
| 395 | 395 | } |
| 396 | 396 | |
| 397 | - $this->setInfo('_memory', round((memory_get_usage() / 1024 / 1024)) . ' MB'); |
|
| 397 | + $this->setInfo('_memory', round((memory_get_usage() / 1024 / 1024)).' MB'); |
|
| 398 | 398 | $this->ramUpdate = $tick; |
| 399 | 399 | } |
| 400 | 400 | |
@@ -407,7 +407,7 @@ discard block |
||
| 407 | 407 | */ |
| 408 | 408 | public function exception($reason, $stop) { |
| 409 | 409 | if (!$stop) { |
| 410 | - $this->output('Exception: ' . $reason); |
|
| 410 | + $this->output('Exception: '.$reason); |
|
| 411 | 411 | // TODO: feed an array of exceptions for log; |
| 412 | 412 | } |
| 413 | 413 | $this->runningService->exception($this->tickId, $reason, $stop); |