comparison vendor/symfony/console/Helper/TableCell.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
17 * @author Abdellatif Ait boudad <a.aitboudad@gmail.com> 17 * @author Abdellatif Ait boudad <a.aitboudad@gmail.com>
18 */ 18 */
19 class TableCell 19 class TableCell
20 { 20 {
21 private $value; 21 private $value;
22 private $options = array( 22 private $options = [
23 'rowspan' => 1, 23 'rowspan' => 1,
24 'colspan' => 1, 24 'colspan' => 1,
25 ); 25 ];
26 26
27 /** 27 /**
28 * @param string $value 28 * @param string $value
29 * @param array $options 29 * @param array $options
30 */ 30 */
31 public function __construct($value = '', array $options = array()) 31 public function __construct($value = '', array $options = [])
32 { 32 {
33 if (is_numeric($value) && !is_string($value)) { 33 if (is_numeric($value) && !\is_string($value)) {
34 $value = (string) $value; 34 $value = (string) $value;
35 } 35 }
36 36
37 $this->value = $value; 37 $this->value = $value;
38 38