@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * |
| 93 | 93 | * @param string $id |
| 94 | 94 | * @param int $offset |
| 95 | - * @return mixed |
|
| 95 | + * @return boolean |
|
| 96 | 96 | */ |
| 97 | 97 | public function increment($id, $offset = 1) |
| 98 | 98 | { |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | * |
| 105 | 105 | * @param string $id |
| 106 | 106 | * @param int $offset |
| 107 | - * @return mixed |
|
| 107 | + * @return boolean |
|
| 108 | 108 | */ |
| 109 | 109 | public function decrement($id, $offset = 1) |
| 110 | 110 | { |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | * Set the specified config item |
| 135 | 135 | * |
| 136 | 136 | * @param string $key |
| 137 | - * @param mixed $value |
|
| 137 | + * @param string $value |
|
| 138 | 138 | * @return void |
| 139 | 139 | */ |
| 140 | 140 | public function set($key, $value) |
@@ -68,6 +68,7 @@ |
||
| 68 | 68 | /** |
| 69 | 69 | * get singleton |
| 70 | 70 | * |
| 71 | + * @param string $key |
|
| 71 | 72 | * @return object |
| 72 | 73 | */ |
| 73 | 74 | public static function getInstance($key = null) |
@@ -197,7 +197,7 @@ |
||
| 197 | 197 | $_REQUEST = array_merge($_POST, $_GET, $_COOKIE); |
| 198 | 198 | |
| 199 | 199 | if (Config::get('APP_DEBUG')) { |
| 200 | - Response::setHeader('X-Kotori-Hash', call_user_func(function () { |
|
| 200 | + Response::setHeader('X-Kotori-Hash', call_user_func(function() { |
|
| 201 | 201 | $lockFile = Helper::getComposerVendorPath() . '/../composer.lock'; |
| 202 | 202 | if (!Helper::isFile($lockFile)) { |
| 203 | 203 | return 'unknown'; |