@@ -11,12 +11,12 @@ |
||
| 11 | 11 | * @return string : the string surrounded by the tick character |
| 12 | 12 | * |
| 13 | 13 | */ |
| 14 | - public static function identifier($reference, $tick='`'): string |
|
| 14 | + public static function identifier($reference, $tick = '`'): string |
|
| 15 | 15 | { |
| 16 | 16 | if (is_array($reference)) { |
| 17 | 17 | $identifier = $reference[0]; |
| 18 | 18 | if (isset($reference[1])) { |
| 19 | - $identifier = $identifier.$tick . '.' . $tick.$reference[1]; |
|
| 19 | + $identifier = $identifier.$tick.'.'.$tick.$reference[1]; |
|
| 20 | 20 | } |
| 21 | 21 | $reference = $identifier; |
| 22 | 22 | } |
@@ -112,8 +112,9 @@ discard block |
||
| 112 | 112 | */ |
| 113 | 113 | private function bindLabel(string $prefix = null): string |
| 114 | 114 | { |
| 115 | - if ($this->bind_label !== null) |
|
| 116 | - return $this->bind_label; |
|
| 115 | + if ($this->bind_label !== null) { |
|
| 116 | + return $this->bind_label; |
|
| 117 | + } |
|
| 117 | 118 | |
| 118 | 119 | $this->bind_label = ''; |
| 119 | 120 | if (is_string($this->right)) { |
@@ -124,8 +125,9 @@ discard block |
||
| 124 | 125 | $this->bind_label .= $this->left; |
| 125 | 126 | } |
| 126 | 127 | |
| 127 | - if ($prefix !== null) |
|
| 128 | - $this->bind_label = $prefix . '_' . $this->bind_label; |
|
| 128 | + if ($prefix !== null) { |
|
| 129 | + $this->bind_label = $prefix . '_' . $this->bind_label; |
|
| 130 | + } |
|
| 129 | 131 | |
| 130 | 132 | return $this->bind_label; |
| 131 | 133 | } |