Jacek Kowalski
2026-03-31 797f70689539add5d9a891f8234a29b29a79cf3d
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']])) {