Completed
Push — develop ( 6a168f...92c47e )
by
unknown
12:16
created
module/Core/src/Core/Listener/DeferredListenerAggregate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     {
56 56
         if (!$name) { $name = sha1($event . $service . $method); }
57 57
 
58
-        $spec = [ 'event' => $event, 'service' => $service ];
58
+        $spec = ['event' => $event, 'service' => $service];
59 59
         if (null !== $method) { $spec['method'] = $method; }
60 60
 
61 61
         $this->hooks[$name] = $spec;
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             throw new \BadMethodCallException('Unknown method "' . $method . '"');
106 106
         }
107 107
 
108
-        $event    = isset($args[0]) && $args[0] instanceOf EventInterface ? $args[0] : null;
108
+        $event = isset($args[0]) && $args[0] instanceOf EventInterface ? $args[0] : null;
109 109
 
110 110
         if (!$event) {
111 111
             throw new \InvalidArgumentException('First argument must be an EventInterface');
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Listener/Response/JobResponse.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -23,35 +23,35 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * Job has been published
25 25
      */
26
-    const RESPONSE_OK             = 'ok';
26
+    const RESPONSE_OK = 'ok';
27 27
 
28 28
     /**
29 29
      * Job has been published and has stopped all other publishing
30 30
      */
31
-    const RESPONSE_OKANDSTOP      = 'ok and publishing terminated afterwards';
31
+    const RESPONSE_OKANDSTOP = 'ok and publishing terminated afterwards';
32 32
 
33 33
     /**
34 34
      * publishing has been stopped
35 35
      */
36
-    const RESPONSE_STOP           = 'publishing terminated';
36
+    const RESPONSE_STOP = 'publishing terminated';
37 37
 
38 38
     /**
39 39
      * publishing has been denied,
40 40
      * this is very likely when a job was not intended to be sended to a portal
41 41
      */
42
-    const RESPONSE_DENIED         = 'denied';
42
+    const RESPONSE_DENIED = 'denied';
43 43
 
44 44
     /**
45 45
      * a connection to the portal could not be established
46 46
      * or the publishing of the Job has been rejected for other reasons
47 47
      */
48
-    const RESPONSE_FAIL           = 'fail';
48
+    const RESPONSE_FAIL = 'fail';
49 49
 
50 50
     /**
51 51
      * This error has nothing to do with wrong inputs,
52 52
      * something just has happend in the programm
53 53
      */
54
-    const RESPONSE_ERROR          = 'internal Error';
54
+    const RESPONSE_ERROR = 'internal Error';
55 55
 
56 56
     /**
57 57
      * nothing happens, but that's not a failure
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * nothing happens, and get used to it
64 64
      */
65
-    const RESPONSE_DEPRECATED     = 'deprecated';
65
+    const RESPONSE_DEPRECATED = 'deprecated';
66 66
 
67 67
     /**
68 68
      * @var string
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @param string $portal
84 84
      * @param string $status
85 85
      */
86
-    public function __construct($portal = '', $status = self::RESPONSE_NOTIMPLEMENTED, $message='') {
86
+    public function __construct($portal = '', $status = self::RESPONSE_NOTIMPLEMENTED, $message = '') {
87 87
         $this->portal = $portal;
88 88
         $this->status = $status;
89 89
         $this->message = $message;
Please login to merge, or discard this patch.