Completed
Push — v1.ns ( 3cce68...ca9443 )
by Timo
03:14
created
src/Pipe/SimpleEventPipe.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
      * @param $outputChannel 
34 34
      * @return 
35 35
      */
36
-    public function __construct($eventName, \PEIP\INF\Channel\Channel $inputChannel, \PEIP\INF\Channel\Channel $outputChannel){
36
+    public function __construct($eventName, \PEIP\INF\Channel\Channel $inputChannel, \PEIP\INF\Channel\Channel $outputChannel) {
37 37
         $this->setEventName($eventName);
38 38
         $this->setInputChannel($inputChannel);
39 39
         $this->setOutputChannel($outputChannel);        
Please login to merge, or discard this patch.
src/Selector/ContentTypeSelector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param $type 
48 48
      * @return 
49 49
      */
50
-    public function __construct($type){
50
+    public function __construct($type) {
51 51
         $this->type = $type;
52 52
     }       
53 53
             
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param $message 
58 58
      * @return 
59 59
      */
60
-    public function acceptMessage(\PEIP\INF\Message\Message $message){
60
+    public function acceptMessage(\PEIP\INF\Message\Message $message) {
61 61
         return call_user_func(self::$types[$this->type], $message->getContent());
62 62
     }           
63 63
     
Please login to merge, or discard this patch.
src/INF/Data/ParameterHolderCollection.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -23,26 +23,26 @@
 block discarded – undo
23 23
 
24 24
 interface ParameterHolderCollection {
25 25
 
26
-  public function setParameters($namespace, array $parameters);
26
+    public function setParameters($namespace, array $parameters);
27 27
   
28
-  public function addParameters($namespace, array $parameters);
28
+    public function addParameters($namespace, array $parameters);
29 29
   
30
-  public function getParameters($namespace);
30
+    public function getParameters($namespace);
31 31
   
32
-  public function getParameter($namespace, $name);
32
+    public function getParameter($namespace, $name);
33 33
   
34
-  public function setParameter($namespace, $name, $value);
34
+    public function setParameter($namespace, $name, $value);
35 35
   
36
-  public function hasParameter($namespace, $name);
36
+    public function hasParameter($namespace, $name);
37 37
 
38
-  public function deleteParameter($namespace, $name);
38
+    public function deleteParameter($namespace, $name);
39 39
 
40
-  public function setParameterHolder($namespace, \PEIP\INF\Data\ParameterHolder $holder); 
40
+    public function setParameterHolder($namespace, \PEIP\INF\Data\ParameterHolder $holder); 
41 41
 
42
-  public function getParameterHolder($namespace);
42
+    public function getParameterHolder($namespace);
43 43
 
44
-  public function hasParameterHolder($namespace);
44
+    public function hasParameterHolder($namespace);
45 45
 
46
-  public function deleteParameterHolder($namespace);
46
+    public function deleteParameterHolder($namespace);
47 47
   
48 48
 }
49 49
\ No newline at end of file
Please login to merge, or discard this patch.
src/Util/Reflection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
      * @return array array with interface/class info for the class
31 31
      */
32 32
 
33
-    public static function getImplementedClassesAndInterfaces($class, $store = true){
33
+    public static function getImplementedClassesAndInterfaces($class, $store = true) {
34 34
         $class = is_object($class) ? get_class($class) : (string)$class;
35
-        if(isset(self::$classInfo[$class])){
35
+        if (isset(self::$classInfo[$class])) {
36 36
             return self::$classInfo[$class];
37 37
         }
38 38
         $cls = ReflectionPool::getInstance($class);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $classInfo = (array)$cls->getInterfaceNames();
41 41
         $classInfo[] = $cls->getName();
42 42
         // get names of parent-classes
43
-        while($cls = $cls->getParentClass()){
43
+        while ($cls = $cls->getParentClass()) {
44 44
             $classInfo[] = $cls->getName();
45 45
         }
46 46
         
Please login to merge, or discard this patch.
src/Message/StringMessage.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,6 @@
 block discarded – undo
64 64
      * @static
65 65
      * @access public
66 66
      * @implements \PEIP\INF\Base\Buildable
67
-     * @param string $name the name of the header
68 67
      * @return boolean wether the header is set
69 68
      */
70 69
     public static function build(array $arguments = array()){
Please login to merge, or discard this patch.
src/Pipe/FixedEventPipe.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     protected function doSend(\PEIP\INF\Message\Message $message) {
55 55
         if ($this->capacity < 1 || $this->getMessageCount() <= $this->getCapacity()) {
56 56
             $this->queue->insert($message, $message->getHeader($this->priorityHeader));
57
-        }else {
57
+        } else {
58 58
             throw new \Exception('Not implemented yet.');
59 59
         }            
60 60
     }       
Please login to merge, or discard this patch.
src/Data/ParameterHolderCollection.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             $store = $this->factory->build();
55 55
             if ($store instanceof \PEIP\INF\Data\Store) {
56 56
                 $this->setPrivateValue($namespace, $store);
57
-            }else {
57
+            } else {
58 58
                 throw new \Exception('Could not build Instance of \PEIP\INF\Data\Store from factory.');
59 59
             }
60 60
         }
Please login to merge, or discard this patch.
src/Channel/ChannelAdapter.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     protected function doSend(\PEIP\INF\Message\Message $message) {
55 55
         if ($this->capacity < 1 || $this->getMessageCount() <= $this->getCapacity()) {
56 56
             $this->queue->insert($message, $message->getHeader($this->priorityHeader));
57
-        }else {
57
+        } else {
58 58
             throw new \Exception('Not implemented yet.');
59 59
         }            
60 60
     }       
Please login to merge, or discard this patch.
src/Channel/QueueChannel.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     protected function doSend(\PEIP\INF\Message\Message $message) {
55 55
         if ($this->capacity < 1 || $this->getMessageCount() <= $this->getCapacity()) {
56 56
             $this->queue->insert($message, $message->getHeader($this->priorityHeader));
57
-        }else {
57
+        } else {
58 58
             throw new \Exception('Not implemented yet.');
59 59
         }            
60 60
     }       
Please login to merge, or discard this patch.