diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index dcb28f9..fb0d5a8 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -6,17 +6,7 @@
-
-
-
-
-
-
-
-
-
-
-
+
@@ -314,7 +304,7 @@
-
+
@@ -343,8 +333,8 @@
-
+
diff --git a/tests/Pecee/SimpleRouter/Dummy/ResourceController.php b/tests/Pecee/SimpleRouter/Dummy/ResourceController.php
index 0a70e6f..bd36ab3 100644
--- a/tests/Pecee/SimpleRouter/Dummy/ResourceController.php
+++ b/tests/Pecee/SimpleRouter/Dummy/ResourceController.php
@@ -4,43 +4,36 @@ class ResourceController implements \Pecee\Controllers\IResourceController
public function index() : ?string
{
- echo 'index';
- return null;
+ return 'index';
}
public function show($id) : ?string
{
- echo 'show ' . $id;
- return null;
+ return 'show ' . $id;
}
public function store() : ?string
{
- echo 'store';
- return null;
+ return 'store';
}
public function create() : ?string
{
- echo 'create';
- return null;
+ return 'create';
}
public function edit($id) : ?string
{
- echo 'edit ' . $id;
- return null;
+ return 'edit ' . $id;
}
public function update($id) : ?string
{
- echo 'update ' . $id;
- return null;
+ return 'update ' . $id;
}
public function destroy($id) : ?string
{
- echo 'destroy ' . $id;
- return null;
+ return 'destroy ' . $id;
}
}
\ No newline at end of file