Jacek Kowalski
2026-03-19 ca616aa9c2b595f61aceb26b60584c53016d0949
src/UcrmPaymentMethods.php
@@ -3,8 +3,8 @@
namespace SIPL\UCRM\wFirma;
class UcrmPaymentMethods {
   protected $api;
   protected static $definition = [
   protected \Ubnt\UcrmPluginSdk\Service\UcrmApi $api;
   protected static array $definition = [
      'Credit card' => '',
      'Compensation' => '',
   ];
@@ -21,7 +21,7 @@
      return self::$definition[$method];
   }
   function update() {
   function update(): void {
      $methods = $this->api->get('/payment-methods');
      foreach ($methods as $method) {
         if (isset(self::$definition[$method['name']])) {