Passed
Push — master ( ff552a...6d3081 )
by Hector Luis
09:19
created
Patterns/Interfaces/Decorator/ResponderInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
  */
19 19
 interface ResponderInterface extends DecoratorInterface
20 20
 {
21
-    const SUCCESS_KEY = 'success';
21
+    const SUCCESS_KEY='success';
22 22
 
23
-    const CONTENT_KEY = 'content';
23
+    const CONTENT_KEY='content';
24 24
 
25
-    const MESSAGE_KEY = 'message';
25
+    const MESSAGE_KEY='message';
26 26
 
27 27
     /**
28 28
      * @param array $response
Please login to merge, or discard this patch.
Patterns/Implementation/Decorator/Responder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function __construct(
29 29
         ResponseInterface $response
30 30
     ) {
31
-        $this->response = $response;
31
+        $this->response=$response;
32 32
     }
33 33
 
34 34
     /**
Please login to merge, or discard this patch.
Patterns/Implementation/Decorator/Responder/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function setSuccess(bool $success): ResponseInterface
34 34
     {
35
-        $this->success = $success;
35
+        $this->success=$success;
36 36
         return $this;
37 37
     }
38 38
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function setContent($content): ResponseInterface
43 43
     {
44
-        $this->content = $content;
44
+        $this->content=$content;
45 45
         return $this;
46 46
     }
47 47
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function setMessage(string $message): ResponseInterface
52 52
     {
53
-        $this->message = $message;
53
+        $this->message=$message;
54 54
         return $this;
55 55
     }
56 56
 }
Please login to merge, or discard this patch.