Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/process/Exception/ProcessTimedOutException.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
43 return $this->process; | 43 return $this->process; |
44 } | 44 } |
45 | 45 |
46 public function isGeneralTimeout() | 46 public function isGeneralTimeout() |
47 { | 47 { |
48 return $this->timeoutType === self::TYPE_GENERAL; | 48 return self::TYPE_GENERAL === $this->timeoutType; |
49 } | 49 } |
50 | 50 |
51 public function isIdleTimeout() | 51 public function isIdleTimeout() |
52 { | 52 { |
53 return $this->timeoutType === self::TYPE_IDLE; | 53 return self::TYPE_IDLE === $this->timeoutType; |
54 } | 54 } |
55 | 55 |
56 public function getExceededTimeout() | 56 public function getExceededTimeout() |
57 { | 57 { |
58 switch ($this->timeoutType) { | 58 switch ($this->timeoutType) { |