@@ -10,7 +10,7 @@ |
||
10 | 10 | 'modulesListQuickCreate' => [ |
11 | 11 | 'default' => [], |
12 | 12 | 'description' => 'Quick creation of records in the module list', |
13 | - 'validation' => function () { |
|
13 | + 'validation' => function() { |
|
14 | 14 | $arg = func_get_arg(0); |
15 | 15 | return \is_array($arg) && !array_diff($arg, App\Module::getAllModuleNames()); |
16 | 16 | } |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | public function endSession() |
172 | 172 | { |
173 | 173 | if (empty($this->register)) { |
174 | - register_shutdown_function(function () { |
|
174 | + register_shutdown_function(function() { |
|
175 | 175 | try { |
176 | 176 | $header[] = new \SoapHeader(self::HEADER_NAMESPACE, 'Action', $this->getAddressToAction('Wyloguj'), 0); |
177 | 177 | $header[] = new \SoapHeader(self::HEADER_NAMESPACE, 'To', self::CONFIG['addressToService'], 0); |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | if (!$vatId && !$taxNumber && !$ncr) { |
224 | 224 | return []; |
225 | 225 | } |
226 | - $response = $this->getData('DaneSzukajPodmioty', ['pParametryWyszukiwania' => ['Nip' => $vatId, 'Krs' => $ncr, 'Regon' => $taxNumber]]); |
|
226 | + $response = $this->getData('DaneSzukajPodmioty', ['pParametryWyszukiwania' => ['Nip' => $vatId, 'Krs' => $ncr, 'Regon' => $taxNumber]]); |
|
227 | 227 | foreach ($response as &$info) { |
228 | 228 | $this->getAdvanceData($info); |
229 | 229 | } |