Completed
Push — master ( bd89c1...3c7a07 )
by Philip
01:56
created
src/PHPProm/Storage/StorageInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -13,10 +13,21 @@
 block discarded – undo
13 13
 
14 14
 interface StorageInterface {
15 15
 
16
+    /**
17
+     * @return void
18
+     */
16 19
     public function storeMeasurement($prefix, $key, $value);
17 20
 
21
+    /**
22
+     * @param string $prefix
23
+     *
24
+     * @return void
25
+     */
18 26
     public function incrementMeasurement($prefix, $key);
19 27
 
28
+    /**
29
+     * @param string $prefix
30
+     */
20 31
     public function getMeasurements($prefix, array $keys, $defaultValue = 'Nan');
21 32
 
22 33
 }
Please login to merge, or discard this patch.
src/PHPProm/Storage/DBAL.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     protected $statementKeyIncrement;
29 29
 
30 30
     protected function buildStatements() {
31
-        $queryBuilder                = $this->connection->createQueryBuilder()
31
+        $queryBuilder = $this->connection->createQueryBuilder()
32 32
             ->select('COUNT(`key`) AS amount')
33 33
             ->from('`'.$this->table.'`')
34 34
             ->where('`key` = ?')
Please login to merge, or discard this patch.