@@ -174,7 +174,7 @@ |
||
| 174 | 174 | * the limit apply a ban. |
| 175 | 175 | * |
| 176 | 176 | * @param string $event The event to check |
| 177 | - * @return true|string Is the client allowd to perform $event |
|
| 177 | + * @return boolean Is the client allowd to perform $event |
|
| 178 | 178 | */ |
| 179 | 179 | public function checkAllowed($event) |
| 180 | 180 | { |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | */ |
| 122 | 122 | public function getPastDate($seconds) |
| 123 | 123 | { |
| 124 | - $interval = new DateInterval('PT' . $seconds . 'S'); |
|
| 124 | + $interval = new DateInterval('PT'.$seconds.'S'); |
|
| 125 | 125 | $interval->invert = 1; |
| 126 | 126 | |
| 127 | 127 | $pastDate = new DateTime(); |