@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | { |
55 | 55 | $data = $this->getFileData(); |
56 | 56 | $this->lastDate = new DateTime($data['date'], new DateTimeZone(static::REBOOT_TIMEZONE)); |
57 | - $this->count = (int)$data['count']; |
|
57 | + $this->count = (int) $data['count']; |
|
58 | 58 | |
59 | 59 | // Today reboot date/time of the quota |
60 | 60 | $todayBoot = new DateTime(); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | try { |
78 | 78 | $json = file_get_contents(static::JSON_FILENAME); |
79 | - $array = (array)json_decode($json, true); |
|
79 | + $array = (array) json_decode($json, true); |
|
80 | 80 | } catch (Throwable $e) { |
81 | 81 | throw new ConfigException('Error on Google Quota file : reading or JSON malformed.'); |
82 | 82 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | const REQUIRED_PARAMETERS = ['titre', 'url']; |
22 | 22 | |
23 | 23 | const MINIMUM_PARAMETERS |
24 | - = [ |
|
24 | + = [ |
|
25 | 25 | // 'langue' => '', // suggéré |
26 | 26 | 'titre' => '', // required |
27 | 27 | 'url' => '', // required |