mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
Merge pull request #141 from BackEndTea/patch-1
Remove quality change on sulfuras
This commit is contained in:
commit
5c7636e4c7
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user