@@ -114,7 +114,7 @@ |
||
114 | 114 | elseif ($item->name == SulfurasItem::NAME) |
115 | 115 | { |
116 | 116 | $new_item = SulfurasItem::createSulfurasItem($item); |
117 | - }else{ |
|
117 | + } else { |
|
118 | 118 | $new_item = $item; |
119 | 119 | } |
120 | 120 |
@@ -21,8 +21,7 @@ discard block |
||
21 | 21 | if ($item->name != 'Aged Brie' and $item->name != 'Backstage passes to a TAFKAL80ETC concert') |
22 | 22 | { |
23 | 23 | $this->decrementQualityOneUnitIfItemNameIsNotSulfuras($item); |
24 | - } |
|
25 | - else |
|
24 | + } else |
|
26 | 25 | { |
27 | 26 | $this->incrementQuality($item); |
28 | 27 | } |
@@ -45,8 +44,7 @@ discard block |
||
45 | 44 | if ($item->name != 'Backstage passes to a TAFKAL80ETC concert') |
46 | 45 | { |
47 | 46 | $this->decrementQualityOneUnitIfItemNameIsNotSulfuras($item); |
48 | - } |
|
49 | - else |
|
47 | + } else |
|
50 | 48 | { |
51 | 49 | $item->quality = $item->quality - $item->quality; |
52 | 50 | } |
@@ -106,15 +104,13 @@ discard block |
||
106 | 104 | if ($item->name == BackstagePassesItem::NAME) |
107 | 105 | { |
108 | 106 | $new_item = BackstagePassesItem::createBackstagePasses($item); |
109 | - } |
|
110 | - elseif ($item->name == AgedBrieItem::NAME) |
|
107 | + } elseif ($item->name == AgedBrieItem::NAME) |
|
111 | 108 | { |
112 | 109 | $new_item = AgedBrieItem::createAgedBrieItem($item); |
113 | - } |
|
114 | - elseif ($item->name == SulfurasItem::NAME) |
|
110 | + } elseif ($item->name == SulfurasItem::NAME) |
|
115 | 111 | { |
116 | 112 | $new_item = SulfurasItem::createSulfurasItem($item); |
117 | - }else{ |
|
113 | + } else{ |
|
118 | 114 | $new_item = $item; |
119 | 115 | } |
120 | 116 |