@@ -341,6 +341,10 @@ |
||
341 | 341 | return $file; |
342 | 342 | } |
343 | 343 | |
344 | + /** |
|
345 | + * @param string $class |
|
346 | + * @param string $ext |
|
347 | + */ |
|
344 | 348 | private function findFileWithExtension($class, $ext) |
345 | 349 | { |
346 | 350 | // PSR-4 lookup |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Setter for $statusCode |
54 | 54 | * @param integer $statusCode |
55 | - * @return App\Htpp\Responds\Respond |
|
55 | + * @return Main |
|
56 | 56 | * @author Shima Payro <[email protected]> |
57 | 57 | * @since May 2, 2016 9:47:04 AM |
58 | 58 | * @uses |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | /** |
83 | 83 | * Setter for $statusText |
84 | 84 | * @param String $statusText |
85 | - * @return App\HtppApp\Htpp\Responds\Respond |
|
85 | + * @return Main |
|
86 | 86 | * @author Shima Payro <[email protected]> |
87 | 87 | * @since May 2, 2016 9:48:23 AM |
88 | 88 | * @uses |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * @author Mehdi Hosseini <[email protected]> |
152 | 152 | * @since August 24, 2016 |
153 | 153 | * @param $errorCode integer |
154 | - * @return instance |
|
154 | + * @return Main |
|
155 | 155 | */ |
156 | 156 | public function setErrorCode( $errorCode ) { |
157 | 157 | |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * Get headers |
204 | 204 | * @author Shima Payro <[email protected]> |
205 | 205 | * @since Sep 13, 2016 |
206 | - * @return array |
|
206 | + * @return Main |
|
207 | 207 | */ |
208 | 208 | public function setHeaders( $statusText = [] ) { |
209 | 209 |
@@ -133,7 +133,6 @@ discard block |
||
133 | 133 | /** |
134 | 134 | * Database connection is refused |
135 | 135 | * @author Shima Payro <[email protected]> |
136 | - * @param String $message |
|
137 | 136 | * @since May 2, 2016 9:54:45 AM |
138 | 137 | * @uses |
139 | 138 | * @see |
@@ -150,7 +149,6 @@ discard block |
||
150 | 149 | /** |
151 | 150 | * page requested is not found |
152 | 151 | * @author Shima Payro <[email protected]> |
153 | - * @param String $message |
|
154 | 152 | * @since May 2, 2016 9:55:20 AM |
155 | 153 | * @uses |
156 | 154 | * @see |
@@ -167,7 +165,6 @@ discard block |
||
167 | 165 | /** |
168 | 166 | * Wrong parameters are entered |
169 | 167 | * @author Shima Payro <[email protected]> |
170 | - * @param String $message |
|
171 | 168 | * @since May 2, 2016 9:55:20 AM |
172 | 169 | * @uses |
173 | 170 | * @see |
@@ -184,7 +181,6 @@ discard block |
||
184 | 181 | /** |
185 | 182 | * Method is not allowed |
186 | 183 | * @author Shima Payro <[email protected]> |
187 | - * @param String $message |
|
188 | 184 | * @since May 2, 2016 9:55:20 AM |
189 | 185 | * @uses |
190 | 186 | * @see |
@@ -218,7 +214,6 @@ discard block |
||
218 | 214 | /** |
219 | 215 | * The request field is not found |
220 | 216 | * @author Shima Payro <[email protected]> |
221 | - * @param String $message |
|
222 | 217 | * @since May 2, 2016 9:55:20 AM |
223 | 218 | * @uses |
224 | 219 | * @see |