comparison vendor/symfony/css-selector/Parser/Token.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
80 } 80 }
81 81
82 /** 82 /**
83 * @return bool 83 * @return bool
84 */ 84 */
85 public function isDelimiter(array $values = array()) 85 public function isDelimiter(array $values = [])
86 { 86 {
87 if (self::TYPE_DELIMITER !== $this->type) { 87 if (self::TYPE_DELIMITER !== $this->type) {
88 return false; 88 return false;
89 } 89 }
90 90
91 if (empty($values)) { 91 if (empty($values)) {
92 return true; 92 return true;
93 } 93 }
94 94
95 return in_array($this->value, $values); 95 return \in_array($this->value, $values);
96 } 96 }
97 97
98 /** 98 /**
99 * @return bool 99 * @return bool
100 */ 100 */