Skip to content

Commit

Permalink
Make all messages readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasGraml11 committed Apr 4, 2024
1 parent 338733b commit 9f06b5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Model/Job/Message/ErrorMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Nosto\Scheduler\Model\MessageManager;

class ErrorMessage extends JobMessage
readonly class ErrorMessage extends JobMessage
{
public function getType(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Job/Message/InfoMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

namespace Nosto\Scheduler\Model\Job\Message;

class InfoMessage extends JobMessage
readonly class InfoMessage extends JobMessage
{
}
2 changes: 1 addition & 1 deletion src/Model/Job/Message/WarningMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Nosto\Scheduler\Model\MessageManager;

class WarningMessage extends JobMessage
readonly class WarningMessage extends JobMessage
{
public function getType(): string
{
Expand Down

0 comments on commit 9f06b5f

Please sign in to comment.