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.
This commit is contained in:
Gert de Pagter authored and GitHub committed 2020-01-15 15:27:50 +01:00
1 parent 9a9b4351f2
commit 2a4f2b3b7c
1 file changed
-2
-2
View File
@@ -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 {