Jacek Kowalski
2026-02-17 148d376f573020cfc0ff52c96082136d6d65824a
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']])) {