mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix incompatible signatures of inherited methods
This commit is contained in:
parent
f6c226a0b7
commit
6473115ed3
9 changed files with 16 additions and 16 deletions
|
|
@ -86,7 +86,7 @@ class ModuleObject extends Object
|
|||
* @param string $type type of message (error, info, update)
|
||||
* @return void
|
||||
* */
|
||||
function setMessage($message, $type = NULL)
|
||||
function setMessage($message = 'success', $type = NULL)
|
||||
{
|
||||
parent::setMessage($message);
|
||||
$this->setMessageType($type);
|
||||
|
|
@ -370,7 +370,7 @@ class ModuleObject extends Object
|
|||
* set the directory path of the layout directory
|
||||
* @return string
|
||||
* */
|
||||
function getLayoutPath()
|
||||
function getLayoutPath($layout_name = "", $layout_type = "P")
|
||||
{
|
||||
return $this->layout_path;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue