Skip to content

Commit c686a59

Browse files
committed
Fix execution method bug for gilded rose kata
1 parent 51db3cc commit c686a59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Katas/GildedRose/GildedRose.php

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class GildedRose extends Kata implements Executable
2626
*/
2727
public function execute(...$arguments)
2828
{
29+
$arguments = $arguments[0];
30+
2931
$item = self::of($arguments[0], $arguments[1], $arguments[2]);
3032

3133
$item->tick();

0 commit comments

Comments
 (0)