Line ending

This commit is contained in:
2018-12-19 22:46:20 +00:00
parent ac08723f5f
commit a8c3fa4a00
3 changed files with 29 additions and 24 deletions

5
.idea/codeStyles/codeStyleConfig.xml generated Normal file
View File

@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>

View File

@@ -1,19 +1,19 @@
<?php <?php
require_once 'MessageHandler.php'; require_once 'MessageHandler.php';
class TestHandler implements MessageHandler class TestHandler implements MessageHandler
{ {
public function CanHandle($room_id, $msgid, $message): bool public function CanHandle($room_id, $msgid, $message): bool
{ {
// TODO: Implement canHandle() method. // TODO: Implement canHandle() method.
return $msgid == 0; return $msgid == 0;
} }
public function Handle($room_id, $msgid, $message): string public function Handle($room_id, $msgid, $message): string
{ {
// TODO: Implement handle() method. // TODO: Implement handle() method.
return "uwu"; return "uwu";
} }
} }

View File

@@ -1,7 +1,7 @@
<?php <?php
interface MessageHandler interface MessageHandler
{ {
public function CanHandle($room_id, $msgid, $message): bool; public function CanHandle($room_id, $msgid, $message): bool;
public function Handle($room_id, $msgid, $message): string; public function Handle($room_id, $msgid, $message): string;
} }