File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ protected function executeCurrentItem()
237
237
/**
238
238
* Redraw the menu
239
239
*/
240
- public function reDraw ()
240
+ public function redraw ()
241
241
{
242
242
if (!$ this ->isOpen ()) {
243
243
throw new MenuNotOpenException ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function testSimpleOpenClose()
52
52
$ style = $ this ->getStyle ($ terminal );
53
53
54
54
$ item = new SelectableItem ('Item 1 ' , function (CliMenu $ menu ) {
55
- $ menu ->close ();
55
+ $ menu ->close ();
56
56
});
57
57
58
58
$ this ->expectOutputString (file_get_contents ($ this ->getTestFile ()));
@@ -81,7 +81,7 @@ public function testReDrawReDrawsImmediately()
81
81
82
82
$ item = new SelectableItem ('Item 1 ' , function (CliMenu $ menu ) {
83
83
$ menu ->getStyle ()->setBg ('red ' );
84
- $ menu ->reDraw ();
84
+ $ menu ->redraw ();
85
85
$ menu ->close ();
86
86
});
87
87
You can’t perform that action at this time.
0 commit comments