Passed
Branch master (ae28f9)
by Alexey
03:06
created
src/Contracts/src/Event/EventDispatcher.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@  discard block
 block discarded – undo
15 15
      * @param  string $eventName
16 16
      * @param  callable $listener
17 17
      * @param  int    $priority
18
+     * @return void
18 19
      */
19 20
     public function addListener(string $eventName, $listener, int $priority = 0);
20 21
 
@@ -22,6 +23,7 @@  discard block
 block discarded – undo
22 23
      * Trigger an event.
23 24
      *
24 25
      * @param  Event $event
26
+     * @return void
25 27
      */
26 28
     public function dispatch(Event $event);
27 29
 }
28 30
\ No newline at end of file
Please login to merge, or discard this patch.
src/Http/src/ResponseTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * Writes provided string to response body stream
18 18
      *
19 19
      * @param string $body
20
-     * @return ResponseContract
20
+     * @return ResponseTrait
21 21
      */
22 22
     public function append(string $body): ResponseContract
23 23
     {
Please login to merge, or discard this patch.
src/Framework/ErrorHandler/ErrorHandlerProvider.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,8 +82,7 @@
 block discarded – undo
82 82
             // Push pretty page handler only for local environment
83 83
             $whoops->pushHandler(
84 84
                 $kernel->getEnvironment() === 'local' ?
85
-                    new PrettyPageHandler() :
86
-                    new PlainTextHandler()
85
+                    new PrettyPageHandler() : new PlainTextHandler()
87 86
             );
88 87
         }
89 88
         /**
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.