@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * @inheritdoc |
| 41 | 41 | */ |
| 42 | - public function incCounter($name, $help, $namespace = null, array $labelKeys = [], array $labelValues = []) { |
|
| 42 | + public function incCounter($name, $help, $namespace = null, array $labelKeys = [ ], array $labelValues = [ ]) { |
|
| 43 | 43 | $namespace = $this->getNamespace($namespace); |
| 44 | 44 | |
| 45 | 45 | try { |
@@ -61,8 +61,8 @@ discard block |
||
| 61 | 61 | $help, |
| 62 | 62 | $value, |
| 63 | 63 | $namespace = null, |
| 64 | - array $labelKeys = [], |
|
| 65 | - array $labelValues = [] |
|
| 64 | + array $labelKeys = [ ], |
|
| 65 | + array $labelValues = [ ] |
|
| 66 | 66 | ) { |
| 67 | 67 | $namespace = $this->getNamespace($namespace); |
| 68 | 68 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | /** |
| 81 | 81 | * @inheritdoc |
| 82 | 82 | */ |
| 83 | - public function setGauge($name, $help, $value, $namespace = null, array $labelKeys = [], array $labelValues = []) { |
|
| 83 | + public function setGauge($name, $help, $value, $namespace = null, array $labelKeys = [ ], array $labelValues = [ ]) { |
|
| 84 | 84 | $namespace = $this->getNamespace($namespace); |
| 85 | 85 | |
| 86 | 86 | try { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * @inheritdoc |
| 99 | 99 | */ |
| 100 | - public function incGauge($name, $help, $namespace = null, array $labelKeys = [], array $labelValues = []) { |
|
| 100 | + public function incGauge($name, $help, $namespace = null, array $labelKeys = [ ], array $labelValues = [ ]) { |
|
| 101 | 101 | $namespace = $this->getNamespace($namespace); |
| 102 | 102 | |
| 103 | 103 | try { |
@@ -119,8 +119,8 @@ discard block |
||
| 119 | 119 | $help, |
| 120 | 120 | $value, |
| 121 | 121 | $namespace = null, |
| 122 | - array $labelKeys = [], |
|
| 123 | - array $labelValues = [] |
|
| 122 | + array $labelKeys = [ ], |
|
| 123 | + array $labelValues = [ ] |
|
| 124 | 124 | ) { |
| 125 | 125 | $namespace = $this->getNamespace($namespace); |
| 126 | 126 | |
@@ -143,8 +143,8 @@ discard block |
||
| 143 | 143 | $help, |
| 144 | 144 | $value, |
| 145 | 145 | $namespace = null, |
| 146 | - array $labelKeys = [], |
|
| 147 | - array $labelValues = [], |
|
| 146 | + array $labelKeys = [ ], |
|
| 147 | + array $labelValues = [ ], |
|
| 148 | 148 | ?array $buckets = null |
| 149 | 149 | ) { |
| 150 | 150 | $namespace = $this->getNamespace($namespace); |