Test Setup Failed
Push — master ( 75549f...9bc1fd )
by Mehmet
05:09
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 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -117,6 +117,11 @@
 block discarded – undo
117 117
         return $this->view->render($templatePath, $this->controllerResponse->getData());
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $template
122
+     * @param string $type
123
+     * @param string $controller
124
+     */
120 125
     private function checkTemplateFile($template, $type, $controller) : void
121 126
     {
122 127
         if (!file_exists($this->config->view->get('templates_path') .'/'. $template)) {
Please login to merge, or discard this patch.