@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * @param string $aggregate `ALL|DISTINCT` |
21 | 21 | * @return Numeric |
22 | 22 | */ |
23 | - public function getAvg ($aggregate = 'ALL') { |
|
23 | + public function getAvg($aggregate = 'ALL') { |
|
24 | 24 | return new Numeric($this->db, "AVG({$aggregate} {$this})"); |
25 | 25 | } |
26 | 26 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @param string $delimiter |
31 | 31 | * @return Text |
32 | 32 | */ |
33 | - public function getConcat (string $delimiter = ',') { |
|
33 | + public function getConcat(string $delimiter = ',') { |
|
34 | 34 | $delimiter = $this->db->quote($delimiter); |
35 | 35 | switch ($this->db->getDriver()) { |
36 | 36 | case 'sqlite': |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * @param string $aggregate `ALL|DISTINCT` |
47 | 47 | * @return Numeric |
48 | 48 | */ |
49 | - public function getCount ($aggregate = 'ALL') { |
|
49 | + public function getCount($aggregate = 'ALL') { |
|
50 | 50 | return new Numeric($this->db, "COUNT({$aggregate} {$this})"); |
51 | 51 | } |
52 | 52 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * |
56 | 56 | * @return Numeric |
57 | 57 | */ |
58 | - public function getMax () { |
|
58 | + public function getMax() { |
|
59 | 59 | return new Numeric($this->db, "MAX({$this})"); |
60 | 60 | } |
61 | 61 | |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @return Numeric |
66 | 66 | */ |
67 | - public function getMin () { |
|
67 | + public function getMin() { |
|
68 | 68 | return new Numeric($this->db, "MIN({$this})"); |
69 | 69 | } |
70 | 70 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * @param string $aggregate `ALL|DISTINCT` |
75 | 75 | * @return Numeric |
76 | 76 | */ |
77 | - public function getSum ($aggregate = 'ALL') { |
|
77 | + public function getSum($aggregate = 'ALL') { |
|
78 | 78 | return new Numeric($this->db, "SUM({$aggregate} {$this})"); |
79 | 79 | } |
80 | 80 | } |
81 | 81 | \ No newline at end of file |
@@ -7,6 +7,6 @@ |
||
7 | 7 | */ |
8 | 8 | interface ExpressionInterface { |
9 | 9 | |
10 | - public function __toString (); |
|
10 | + public function __toString(); |
|
11 | 11 | |
12 | 12 | } |
13 | 13 | \ No newline at end of file |