Line ending
This commit is contained in:
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
@@ -0,0 +1,5 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
||||
@@ -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