Test Setup Failed
Push — master ( 1ac915...9b6ae8 )
by Mehmet
09:50
created
src/Application.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -95,6 +95,10 @@  discard block
 block discarded – undo
95 95
         }
96 96
     }
97 97
 
98
+    /**
99
+     * @param integer $status
100
+     * @param string $message
101
+     */
98 102
     private function notFound($status, $message) : void
99 103
     {
100 104
         $errorHandlerClass = $this->container->get('http-error-handler');
@@ -128,6 +132,9 @@  discard block
 block discarded – undo
128 132
         }
129 133
     }
130 134
 
135
+    /**
136
+     * @param string $controllerClass
137
+     */
131 138
     private function runRoute($controllerClass, int $returnType, array $args) : void
132 139
     {
133 140
         $controller = new ApplicationController($this->container, $controllerClass, $returnType, $args);
Please login to merge, or discard this patch.
src/ApplicationResponse.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -111,6 +111,11 @@
 block discarded – undo
111 111
         return $this->view->render($templatePath, $this->controllerResponse->getData());
112 112
     }
113 113
 
114
+    /**
115
+     * @param string $template
116
+     * @param string $type
117
+     * @param string $controller
118
+     */
114 119
     private function checkTemplateFile($template, $type, $controller) : void
115 120
     {
116 121
         if (!file_exists($this->config->app->get('templates_path') .'/'. $template)) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Selami\View\ViewInterface;
9 9
 use Selami\Router\Router;
10 10
 use Selami\Stdlib\CaseConverter;
11
-use Zend\Diactoros\Response;
12 11
 use Zend\Diactoros\Response\JsonResponse;
13 12
 use Zend\Diactoros\Response\HtmlResponse;
14 13
 use Zend\Diactoros\Response\TextResponse;
Please login to merge, or discard this patch.