Skip to content

Commit f6a003b

Browse files
committed
UI\Presenter: methods formatActionMethod(), formatRenderMethod() and formatSignalMethod() are public and static (BC break)
1 parent 895cbec commit f6a003b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Application/UI/Presenter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ public function formatTemplateFiles()
564564
* @param string
565565
* @return string
566566
*/
567-
protected static function formatActionMethod($action)
567+
public static function formatActionMethod($action)
568568
{
569569
return 'action' . $action;
570570
}
@@ -576,7 +576,7 @@ protected static function formatActionMethod($action)
576576
* @param string
577577
* @return string
578578
*/
579-
protected static function formatRenderMethod($view)
579+
public static function formatRenderMethod($view)
580580
{
581581
return 'render' . $view;
582582
}

src/Application/UI/PresenterComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public function signalReceived($signal)
291291
* @param string
292292
* @return string
293293
*/
294-
public function formatSignalMethod($signal)
294+
public static function formatSignalMethod($signal)
295295
{
296296
return $signal == NULL ? NULL : 'handle' . $signal; // intentionally ==
297297
}

0 commit comments

Comments
 (0)