@@ -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 |
@@ -142,7 +142,6 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Database connection is refused |
144 | 144 | * @author Shima Payro <[email protected]> |
145 | - * @param String $message |
|
146 | 145 | * @since May 2, 2016 9:54:45 AM |
147 | 146 | * @uses |
148 | 147 | * @see |
@@ -159,7 +158,6 @@ discard block |
||
159 | 158 | /** |
160 | 159 | * page requested is not found |
161 | 160 | * @author Shima Payro <[email protected]> |
162 | - * @param String $message |
|
163 | 161 | * @since May 2, 2016 9:55:20 AM |
164 | 162 | * @uses |
165 | 163 | * @see |
@@ -176,7 +174,6 @@ discard block |
||
176 | 174 | /** |
177 | 175 | * Wrong parameters are entered |
178 | 176 | * @author Shima Payro <[email protected]> |
179 | - * @param String $message |
|
180 | 177 | * @since May 2, 2016 9:55:20 AM |
181 | 178 | * @uses |
182 | 179 | * @see |
@@ -193,7 +190,6 @@ discard block |
||
193 | 190 | /** |
194 | 191 | * Method is not allowed |
195 | 192 | * @author Shima Payro <[email protected]> |
196 | - * @param String $message |
|
197 | 193 | * @since May 2, 2016 9:55:20 AM |
198 | 194 | * @uses |
199 | 195 | * @see |
@@ -210,7 +206,6 @@ discard block |
||
210 | 206 | /** |
211 | 207 | * There ara validation errors |
212 | 208 | * @author Shima Payro <[email protected]> |
213 | - * @param Array $data |
|
214 | 209 | * @since May 2, 2016 9:55:20 AM |
215 | 210 | * @uses |
216 | 211 | * @see |
@@ -227,7 +222,6 @@ discard block |
||
227 | 222 | /** |
228 | 223 | * The request field is not found |
229 | 224 | * @author Shima Payro <[email protected]> |
230 | - * @param String $message |
|
231 | 225 | * @since May 2, 2016 9:55:20 AM |
232 | 226 | * @uses |
233 | 227 | * @see |