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
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";
}
}

View File

@@ -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;
}