diff 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
line wrap: on
line diff
--- a/vendor/symfony/process/Exception/ProcessTimedOutException.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/vendor/symfony/process/Exception/ProcessTimedOutException.php	Mon Apr 23 09:46:53 2018 +0100
@@ -45,12 +45,12 @@
 
     public function isGeneralTimeout()
     {
-        return $this->timeoutType === self::TYPE_GENERAL;
+        return self::TYPE_GENERAL === $this->timeoutType;
     }
 
     public function isIdleTimeout()
     {
-        return $this->timeoutType === self::TYPE_IDLE;
+        return self::TYPE_IDLE === $this->timeoutType;
     }
 
     public function getExceededTimeout()