comparison vendor/symfony/console/Helper/Table.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 1fec387a4317
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
154 * 154 *
155 * @return $this 155 * @return $this
156 */ 156 */
157 public function setColumnStyle($columnIndex, $name) 157 public function setColumnStyle($columnIndex, $name)
158 { 158 {
159 $columnIndex = intval($columnIndex); 159 $columnIndex = (int) $columnIndex;
160 160
161 $this->columnStyles[$columnIndex] = $this->resolveStyle($name); 161 $this->columnStyles[$columnIndex] = $this->resolveStyle($name);
162 162
163 return $this; 163 return $this;
164 } 164 }
189 * 189 *
190 * @return $this 190 * @return $this
191 */ 191 */
192 public function setColumnWidth($columnIndex, $width) 192 public function setColumnWidth($columnIndex, $width)
193 { 193 {
194 $this->columnWidths[intval($columnIndex)] = intval($width); 194 $this->columnWidths[(int) $columnIndex] = (int) $width;
195 195
196 return $this; 196 return $this;
197 } 197 }
198 198
199 /** 199 /**