From fbcbb350c4ad12590bdc9064983dee1f26f12a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Fri, 20 Apr 2018 14:37:50 +0800 Subject: [PATCH] fix(identity-service): incorrect logic --- src/Identity/v3/Models/Service.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Identity/v3/Models/Service.php b/src/Identity/v3/Models/Service.php index 6b58c088..f8790912 100644 --- a/src/Identity/v3/Models/Service.php +++ b/src/Identity/v3/Models/Service.php @@ -88,12 +88,12 @@ public function delete() private function nameMatches(string $value): bool { - return $this->name && $this->name == $value; + return $this->name && $this->name === $value; } private function typeMatches(string $value): bool { - return $this->type && $this->type = $value; + return $this->type && $this->type === $value; } /**