Skip to content

Commit 0a26a2e

Browse files
Merge branch '4.1'
* 4.1: [DependencyInjection] Fix tags on multiple decorated service fix merge SCA: reverted code style changes SCA: reverted code style changes SCA: applied requested code style changes SCA: simplify some ifs in favour of null coalescing operator
2 parents 38e6bda + 432122a commit 0a26a2e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Helper/Table.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,7 @@ public function setColumnStyle($columnIndex, $name)
185185
*/
186186
public function getColumnStyle($columnIndex)
187187
{
188-
if (isset($this->columnStyles[$columnIndex])) {
189-
return $this->columnStyles[$columnIndex];
190-
}
191-
192-
return $this->getStyle();
188+
return $this->columnStyles[$columnIndex] ?? $this->getStyle();
193189
}
194190

195191
/**

0 commit comments

Comments
 (0)