Line ending
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
<?php
|
||||
|
||||
require_once 'MessageHandler.php';
|
||||
|
||||
class TestHandler implements MessageHandler
|
||||
{
|
||||
|
||||
public function CanHandle($room_id, $msgid, $message): bool
|
||||
{
|
||||
// TODO: Implement canHandle() method.
|
||||
return $msgid == 0;
|
||||
}
|
||||
|
||||
public function Handle($room_id, $msgid, $message): string
|
||||
{
|
||||
// TODO: Implement handle() method.
|
||||
return "uwu";
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once 'MessageHandler.php';
|
||||
|
||||
class TestHandler implements MessageHandler
|
||||
{
|
||||
|
||||
public function CanHandle($room_id, $msgid, $message): bool
|
||||
{
|
||||
// TODO: Implement canHandle() method.
|
||||
return $msgid == 0;
|
||||
}
|
||||
|
||||
public function Handle($room_id, $msgid, $message): string
|
||||
{
|
||||
// TODO: Implement handle() method.
|
||||
return "uwu";
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
interface MessageHandler
|
||||
{
|
||||
public function CanHandle($room_id, $msgid, $message): bool;
|
||||
public function Handle($room_id, $msgid, $message): string;
|
||||
<?php
|
||||
|
||||
interface MessageHandler
|
||||
{
|
||||
public function CanHandle($room_id, $msgid, $message): bool;
|
||||
public function Handle($room_id, $msgid, $message): string;
|
||||
}
|
||||
Reference in New Issue
Block a user