diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e9b4371..4bbb819 100755 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ Generally, the development philosophy is result orientated. This means that anyo Developers are encouraged to pick open tasks with high priorities according to their own skill level. Senior developers may directly assign tasks to developers based on their importance. New developers may find it easier to start with a task that has a low priority as they often also have a lower difficulty. -Open tasks can be found in the project overview: [PROJECT.md](../Project/PROJECT.md) +Open tasks can be found in the project overview: [PROJECT.md](https://github.com/Karaka-Management/Organization-Guide/blob/master/Project/PROJECT.md) Tasks currently in development are prefixed in the priority column with an asterisk `*` and a name tag in the task description of the developer who is working on the task. diff --git a/Controller/BackendController.php b/Controller/BackendController.php index f871bfa..32772ce 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -43,7 +43,7 @@ final class BackendController extends Controller * @since 1.0.0 * @codeCoverageIgnore */ - public function viewHelp(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface + public function viewHelp(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Help/Theme/Backend/help'); @@ -63,13 +63,13 @@ final class BackendController extends Controller * @since 1.0.0 * @codeCoverageIgnore */ - public function viewHelpGeneral(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface + public function viewHelpGeneral(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface { $view = new View($this->app->l11nManager, $request, $response); $path = $this->getHelpGeneralPath($request); $toParse = \file_get_contents($path); - $summary = \file_get_contents(__DIR__ . '/../../../Documentation/SUMMARY.md'); + $summary = \file_get_contents(__DIR__ . '/../../../User-Guide/SUMMARY.md'); $content = Markdown::parse($toParse === false ? '' : $toParse); $navigation = Markdown::parse($summary === false ? '' : $summary); @@ -94,13 +94,13 @@ final class BackendController extends Controller private function getHelpGeneralPath(RequestAbstract $request) : string { if ($request->getData('page') === 'README' || $request->getData('page') === null) { - $path = \realpath(__DIR__ . '/../../../Documentation/README.md'); + $path = \realpath(__DIR__ . '/../../../User-Guide/README.md'); } else { - $path = \realpath(__DIR__ . '/../../../Documentation/' . $request->getData('page') . '.md'); + $path = \realpath(__DIR__ . '/../../../User-Guide/' . $request->getData('page') . '.md'); } if ($path === false) { - $path = \realpath(__DIR__ . '/../../../Documentation/README.md'); + $path = \realpath(__DIR__ . '/../../../User-Guide/README.md'); } return $path === false ? '' : $path; @@ -118,7 +118,7 @@ final class BackendController extends Controller * @since 1.0.0 * @codeCoverageIgnore */ - public function viewHelpModuleList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface + public function viewHelpModuleList(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Help/Theme/Backend/help-module-list'); @@ -140,7 +140,7 @@ final class BackendController extends Controller * @since 1.0.0 * @codeCoverageIgnore */ - public function viewHelpModule(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface + public function viewHelpModule(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface { $active = $this->app->moduleManager->getActiveModules(); @@ -227,7 +227,7 @@ final class BackendController extends Controller * @since 1.0.0 * @codeCoverageIgnore */ - public function viewHelpDeveloper(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface + public function viewHelpDeveloper(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface { $view = new View($this->app->l11nManager, $request, $response); $path = $this->getHelpDeveloperPath($request); diff --git a/Controller/SearchController.php b/Controller/SearchController.php index dca2174..570c3ed 100755 --- a/Controller/SearchController.php +++ b/Controller/SearchController.php @@ -42,7 +42,7 @@ final class SearchController extends Controller * * @since 1.0.0 */ - public function searchHelp(RequestAbstract $request, ResponseAbstract $response, $data = null) : void + public function searchHelp(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void { $lang = 'en';