@@ -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 |
@@ -72,7 +72,6 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * Delete action is faild |
| 74 | 74 | * @author Shima Payro <[email protected]> |
| 75 | - * @param String $message |
|
| 76 | 75 | * @since May 2, 2016 9:53:53 AM |
| 77 | 76 | * @uses |
| 78 | 77 | * @see |
@@ -89,7 +88,6 @@ discard block |
||
| 89 | 88 | /** |
| 90 | 89 | * Update action is succeed |
| 91 | 90 | * @author Shima Payro <[email protected]> |
| 92 | - * @param String $message |
|
| 93 | 91 | * @since May 2, 2016 9:54:09 AM |
| 94 | 92 | * @uses |
| 95 | 93 | * @see |
@@ -106,7 +104,6 @@ discard block |
||
| 106 | 104 | /** |
| 107 | 105 | * Insert action is faild |
| 108 | 106 | * @author Shima Payro <[email protected]> |
| 109 | - * @param String $message |
|
| 110 | 107 | * @since May 2, 2016 9:54:27 AM |
| 111 | 108 | * @uses |
| 112 | 109 | * @see |
@@ -123,7 +120,6 @@ discard block |
||
| 123 | 120 | /** |
| 124 | 121 | * Database connection is refused |
| 125 | 122 | * @author Shima Payro <[email protected]> |
| 126 | - * @param String $message |
|
| 127 | 123 | * @since May 2, 2016 9:54:45 AM |
| 128 | 124 | * @uses |
| 129 | 125 | * @see |
@@ -140,7 +136,6 @@ discard block |
||
| 140 | 136 | /** |
| 141 | 137 | * page requested is not found |
| 142 | 138 | * @author Shima Payro <[email protected]> |
| 143 | - * @param String $message |
|
| 144 | 139 | * @since May 2, 2016 9:55:20 AM |
| 145 | 140 | * @uses |
| 146 | 141 | * @see |
@@ -157,7 +152,6 @@ discard block |
||
| 157 | 152 | /** |
| 158 | 153 | * Wrong parameters are entered |
| 159 | 154 | * @author Shima Payro <[email protected]> |
| 160 | - * @param String $message |
|
| 161 | 155 | * @since May 2, 2016 9:55:20 AM |
| 162 | 156 | * @uses |
| 163 | 157 | * @see |
@@ -174,7 +168,6 @@ discard block |
||
| 174 | 168 | /** |
| 175 | 169 | * Method is not allowed |
| 176 | 170 | * @author Shima Payro <[email protected]> |
| 177 | - * @param String $message |
|
| 178 | 171 | * @since May 2, 2016 9:55:20 AM |
| 179 | 172 | * @uses |
| 180 | 173 | * @see |
@@ -208,7 +201,6 @@ discard block |
||
| 208 | 201 | /** |
| 209 | 202 | * The request field is not found |
| 210 | 203 | * @author Shima Payro <[email protected]> |
| 211 | - * @param String $message |
|
| 212 | 204 | * @since May 2, 2016 9:55:20 AM |
| 213 | 205 | * @uses |
| 214 | 206 | * @see |
@@ -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 | |