| @@ -86,7 +86,7 @@ discard block | ||
| 86 | 86 | |
| 87 | 87 | //Add Arguments to the Call Node | 
| 88 | 88 | |
| 89 | - $call = $this->sxmlAddChildrenRecursive($call,$arguments); | |
| 89 | + $call = $this->sxmlAddChildrenRecursive($call, $arguments); | |
| 90 | 90 | |
| 91 | 91 | return $call; | 
| 92 | 92 | } | 
| @@ -105,10 +105,10 @@ discard block | ||
| 105 | 105 |          foreach ($arguments as $key => $value) { | 
| 106 | 106 |              if (is_array($value)) { | 
| 107 | 107 |                  try { | 
| 108 | -                    $child = new \SimpleXMLElement(sprintf('<%s></%s>',$key, $key)); | |
| 108 | +                    $child = new \SimpleXMLElement(sprintf('<%s></%s>', $key, $key)); | |
| 109 | 109 | $this->sxmlAddChildrenRecursive($child, $value); | 
| 110 | - $this->sxmlAppend($root,$child); | |
| 111 | -                } catch(\Exception $e) { | |
| 110 | + $this->sxmlAppend($root, $child); | |
| 111 | +                } catch (\Exception $e) { | |
| 112 | 112 | throw new YourMembershipException($e->getMessage(), $e->getCode(), $e); | 
| 113 | 113 | } | 
| 114 | 114 |              } else { | 
| @@ -8,7 +8,7 @@ | ||
| 8 | 8 |  { | 
| 9 | 9 | |
| 10 | 10 | private $packageName = 'yourmembership'; | 
| 11 | - private $packageConfigPath = __DIR__.'/config/yourmembership.php'; | |
| 11 | + private $packageConfigPath = __DIR__ . '/config/yourmembership.php'; | |
| 12 | 12 | /** | 
| 13 | 13 | * Indicates if loading of the provider is deferred. | 
| 14 | 14 | * |