Completed
Pull Request — master (#61)
by Samuel
02:18
created
Bridge/Guzzle/MessageProfile/StoresRequestProfileMiddlewareFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return callable
53
+     * @return \Closure
54 54
      */
55 55
     public function create()
56 56
     {
Please login to merge, or discard this patch.
Symfony/Bundle/ToleranceBundle/DependencyInjection/ToleranceExtension.php 2 patches
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -191,6 +191,11 @@  discard block
 block discarded – undo
191 191
         $loader->load('operations/aop.xml');
192 192
     }
193 193
 
194
+    /**
195
+     * @param string $name
196
+     *
197
+     * @return string
198
+     */
194 199
     private function createOperationRunnerDefinition(ContainerBuilder $container, $name, array $config)
195 200
     {
196 201
         if (array_key_exists('retry', $config)) {
@@ -225,6 +230,11 @@  discard block
 block discarded – undo
225 230
         return $name;
226 231
     }
227 232
 
233
+    /**
234
+     * @param string $name
235
+     *
236
+     * @return string
237
+     */
228 238
     private function createWaiterDefinition(ContainerBuilder $container, $name, array $config)
229 239
     {
230 240
         if (array_key_exists('count_limited', $config)) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 use Symfony\Component\DependencyInjection\Loader;
24 24
 use Tolerance\Bridge\RabbitMqBundle\MessageProfile\StoreMessageProfileConsumer;
25 25
 use Tolerance\Bridge\RabbitMqBundle\MessageProfile\StoreMessageProfileProducer;
26
-use Tolerance\Bridge\Symfony\Metrics\EventListener\RequestEnded\SendRequestTimeToCollectors;
27 26
 use Tolerance\Bridge\Symfony\Metrics\EventListener\RequestEnded\SendRequestTimeToPublisher;
28 27
 use Tolerance\Bridge\Symfony\Metrics\Request\StaticRequestMetricNamespaceResolver;
29 28
 use Tolerance\MessageProfile\Storage\ElasticaStorage;
Please login to merge, or discard this patch.
src/Tolerance/Throttling/RateLimit/LeakyBucket.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -49,6 +49,7 @@
 block discarded – undo
49 49
 
50 50
     /**
51 51
      * {@inheritdoc}
52
+     * @param string $identifier
52 53
      */
53 54
     public function getTicksBeforeUnderLimit($identifier)
54 55
     {
Please login to merge, or discard this patch.
src/Tolerance/Bridge/Symfony/Metrics/Event/RequestEnded.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param Request $request
29 29
      * @param Response|null $response
30
-     * @param \Exception|\Throwable|null $exception
30
+     * @param \Exception $exception
31 31
      */
32 32
     public function __construct(Request $request, Response $response = null, $exception = null)
33 33
     {
Please login to merge, or discard this patch.