@@ -152,8 +152,8 @@ |
||
152 | 152 | if (null !== $annotation) { |
153 | 153 | $this->enabled = $annotation->enabled; |
154 | 154 | } else { |
155 | - $annotation = new ApiRateLimit(); |
|
156 | - } |
|
155 | + $annotation = new ApiRateLimit(); |
|
156 | + } |
|
157 | 157 | |
158 | 158 | list($key, $limit, $period) = $this->getThrottle($request, $annotation); |
159 | 159 |