Passed
Push — master ( a6d17d...559900 )
by Alexey
05:21
created
src/Container/src/Exception/UnresolvableDependencyException.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @inheritDoc
20 20
      * @param ArgumentResolverException $previous
21
+     * @param string $entryId
21 22
      */
22 23
     public function __construct($entryId, array $referenceChain, ArgumentResolverException $previous)
23 24
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@  discard block
 block discarded – undo
48 48
     private function formatFunction(ReflectionFunctionAbstract $function)
49 49
     {
50 50
         return $function instanceof ReflectionMethod ?
51
-            $function->getDeclaringClass()->getName() . '::' . $function->getName() :
52
-            $function->getName();
51
+            $function->getDeclaringClass()->getName() . '::' . $function->getName() : $function->getName();
53 52
     }
54 53
 
55 54
     /**
@@ -61,7 +60,6 @@  discard block
 block discarded – undo
61 60
     private function formatParameter(ReflectionParameter $parameter): string
62 61
     {
63 62
         return $parameter->hasType() ?
64
-            sprintf('%s $%s', $parameter->getType(), $parameter->getName()) :
65
-            sprintf('$%s', $parameter->getName());
63
+            sprintf('%s $%s', $parameter->getType(), $parameter->getName()) : sprintf('$%s', $parameter->getName());
66 64
     }
67 65
 }
68 66
\ No newline at end of file
Please login to merge, or discard this patch.
src/Framework/Kernel/Bootstrap/Logging.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             $handler->pushProcessor(new PsrLogMessageProcessor);
34 34
 
35 35
             if (!$this->kernel->isCli()) {
36
-                $handler->pushProcessor(new WebProcessor(null, [ // todo: make list configurable?
36
+                $handler->pushProcessor(new WebProcessor(null, [// todo: make list configurable?
37 37
                     'url' => 'REQUEST_URI',
38 38
                     'ip' => 'REMOTE_ADDR',
39 39
                     'http_method' => 'REQUEST_METHOD',
Please login to merge, or discard this patch.
src/Cache/src/Cache.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,8 @@
 block discarded – undo
62 62
         $item->set($value);
63 63
         if (is_int($expires) || $expires instanceof \DateInterval) {
64 64
             $item->expiresAfter($expires);
65
-        } elseif ($expires instanceof \DateTimeInterface) { // @codeCoverageIgnore
65
+        } elseif ($expires instanceof \DateTimeInterface) {
66
+// @codeCoverageIgnore
66 67
             $item->expiresAt($expires);
67 68
         }
68 69
 
Please login to merge, or discard this patch.
src/Container/src/Exception/ContainerException.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -66,6 +66,7 @@
 block discarded – undo
66 66
      * Adds service Ids to the reference chain.
67 67
      *
68 68
      * @param string[] ...$serviceId
69
+     * @param string $serviceId
69 70
      */
70 71
     protected function addToReferenceChain(string ...$serviceId)
71 72
     {
Please login to merge, or discard this patch.
src/Framework/ServiceProvider/CacheServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @return callable
90
+     * @return \Closure
91 91
      */
92 92
     protected function filesystemCachePoolFactory(): callable
93 93
     {
Please login to merge, or discard this patch.
src/Container/src/Invokable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param $callable
70
+     * @param callable $callable
71 71
      * @return callable
72 72
      * @throws InvalidArgumentException
73 73
      */
Please login to merge, or discard this patch.