From 2a4f2b3b7ce04df95b50dbf0ba091df7f332dbbb Mon Sep 17 00:00:00 2001 From: Gert de Pagter Date: Wed, 15 Jan 2020 15:27:50 +0100 Subject: [PATCH] Remove quality change on sulfuras For some reason the php7 version sets the quality of sulfuras to be 80. The sepcification simply states this is the max, and that it does not change, as written on line 22 of the english specifications. --- php7/src/GildedRose.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/php7/src/GildedRose.php b/php7/src/GildedRose.php index d11217cc..5a7cd7c9 100644 --- a/php7/src/GildedRose.php +++ b/php7/src/GildedRose.php @@ -16,8 +16,6 @@ final class GildedRose { if ($item->quality > 0) { if ($item->name != 'Sulfuras, Hand of Ragnaros') { $item->quality = $item->quality - 1; - } else { - $item->quality = 80; } } } else {