comparison vendor/symfony/console/Input/InputOption.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 1fec387a4317
children 129ea1e6d783
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
193 /** 193 /**
194 * Checks whether the given option equals this one. 194 * Checks whether the given option equals this one.
195 * 195 *
196 * @return bool 196 * @return bool
197 */ 197 */
198 public function equals(InputOption $option) 198 public function equals(self $option)
199 { 199 {
200 return $option->getName() === $this->getName() 200 return $option->getName() === $this->getName()
201 && $option->getShortcut() === $this->getShortcut() 201 && $option->getShortcut() === $this->getShortcut()
202 && $option->getDefault() === $this->getDefault() 202 && $option->getDefault() === $this->getDefault()
203 && $option->isArray() === $this->isArray() 203 && $option->isArray() === $this->isArray()