@@ -81,6 +81,10 @@ discard block |
||
81 | 81 | } |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param string $object |
|
86 | + * @param string $method |
|
87 | + */ |
|
84 | 88 | public function call($object, $method, array $params = array()) |
85 | 89 | { |
86 | 90 | if (isset($this->customer) && $this->customer != "") { |
@@ -203,6 +207,9 @@ discard block |
||
203 | 207 | return $this->language; |
204 | 208 | } |
205 | 209 | |
210 | + /** |
|
211 | + * @param string $language |
|
212 | + */ |
|
206 | 213 | public function setLanguage($language) |
207 | 214 | { |
208 | 215 | $this->language = $language; |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | public function createRecord($name, $ip, $domain = 'somedomainnameyouwishtoupgrade.de', $type = 'A') |
33 | 33 | { |
34 | 34 | if (strpos($name, $domain) === false) { |
35 | - $name = $name.".".$domain; |
|
35 | + $name = $name . "." . $domain; |
|
36 | 36 | } |
37 | 37 | try { |
38 | 38 | $result = $this->call('nameserver', 'createRecord', array( |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | public function updateRecord($id, $ip) |
51 | 51 | { |
52 | - $result = $this->call('nameserver','updateRecord', array( |
|
52 | + $result = $this->call('nameserver', 'updateRecord', array( |
|
53 | 53 | 'id' => $id, |
54 | 54 | 'content' => $ip |
55 | 55 | )); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | //service |
23 | 23 | $loader = new YamlFileLoader( |
24 | 24 | $container, |
25 | - new FileLocator(__DIR__.'/../Resources/config') |
|
25 | + new FileLocator(__DIR__ . '/../Resources/config') |
|
26 | 26 | ); |
27 | 27 | $loader->load('services.yml'); |
28 | 28 | } |