From d0ab14320c575b68f106a5f76224c33e5d06284a Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Fri, 10 Mar 2017 06:46:50 +0300 Subject: [PATCH] Change max weight --- src/Status/BooleanStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Status/BooleanStatus.php b/src/Status/BooleanStatus.php index f67ea06..3b6b985 100644 --- a/src/Status/BooleanStatus.php +++ b/src/Status/BooleanStatus.php @@ -42,6 +42,6 @@ class BooleanStatus implements ReasonStatusInterface */ public function getWeight(): int { - return $this->value ? 0 : 1; + return $this->value ? 0 : PHP_INT_MAX; } }