@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | /** |
| 115 | 115 | * @param string $query |
| 116 | 116 | * @param array $params |
| 117 | - * @return \mysqli_stmt |
|
| 117 | + * @return \PDOStatement |
|
| 118 | 118 | */ |
| 119 | 119 | private function _getStmt($query, $params) |
| 120 | 120 | { |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | /** |
| 202 | 202 | * @param string $flagName |
| 203 | 203 | * @param array $filterParams |
| 204 | - * @return boolean |
|
| 204 | + * @return string |
|
| 205 | 205 | */ |
| 206 | 206 | private function _getKey($flagName, $filterParams) |
| 207 | 207 | { |
@@ -131,7 +131,7 @@ |
||
| 131 | 131 | try { |
| 132 | 132 | $timeOut = $this->_getTimeout($featuredFlagsModel->getEndDate()); |
| 133 | 133 | $this->_redis->set($cacheKey, $featuredFlagsModel, $timeOut); |
| 134 | - } catch (\Exception $e){} |
|
| 134 | + } catch (\Exception $e) {} |
|
| 135 | 135 | } |
| 136 | 136 | } |
| 137 | 137 | |