Fix for " redeclare"-error
This commit is contained in:
parent
1e987bbbbc
commit
8ee876b30a
|
@ -37,18 +37,7 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
return ['database'];
|
return ['database'];
|
||||||
}
|
}
|
||||||
|
public function AdditionalLines()
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the array representation of the notification.
|
|
||||||
*
|
|
||||||
* @param mixed $notifiable
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function toArray($notifiable)
|
|
||||||
{
|
|
||||||
function AdditionalLines()
|
|
||||||
{
|
{
|
||||||
$AdditionalLine = "";
|
$AdditionalLine = "";
|
||||||
if(Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
if(Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
||||||
|
@ -67,7 +56,14 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
||||||
|
|
||||||
return $AdditionalLine;
|
return $AdditionalLine;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Get the array representation of the notification.
|
||||||
|
*
|
||||||
|
* @param mixed $notifiable
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function toArray($notifiable)
|
||||||
|
{
|
||||||
return [
|
return [
|
||||||
'title' => "Getting started!",
|
'title' => "Getting started!",
|
||||||
'content' => "
|
'content' => "
|
||||||
|
@ -75,7 +71,7 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
||||||
<h5>Verification</h5>
|
<h5>Verification</h5>
|
||||||
<p>Please remember that you can verify your E-Mail Adress and Link/Verify your Discord-Account</p>
|
<p>Please remember that you can verify your E-Mail Adress and Link/Verify your Discord-Account</p>
|
||||||
<p>
|
<p>
|
||||||
".AdditionalLines()."
|
".WelcomeMessage::AdditionalLines()."
|
||||||
</p>
|
</p>
|
||||||
<h5>Information</h5>
|
<h5>Information</h5>
|
||||||
<p>This dashboard can be used to create and delete servers.<br /> These servers can be used and managed on our pterodactyl panel.<br /> If you have any questions, please join our Discord server and #create-a-ticket.</p>
|
<p>This dashboard can be used to create and delete servers.<br /> These servers can be used and managed on our pterodactyl panel.<br /> If you have any questions, please join our Discord server and #create-a-ticket.</p>
|
||||||
|
|
Loading…
Reference in a new issue