--- a/vendor/adyen/module-payment/Logger/Handler/AdyenWarning.php	2025-04-01 10:55:42.000000000 +0000
+++ b/vendor/adyen/module-payment/Logger/Handler/AdyenWarning.php	2025-06-26 12:55:14.414703100 +0000
@@ -12,6 +12,8 @@
 namespace Adyen\Payment\Logger\Handler;
 
 use Adyen\Payment\Logger\AdyenLogger;
+use Magento\Framework\Filesystem\DriverInterface;
+use Monolog\Level;
 
 class AdyenWarning extends AdyenBase
 {
@@ -25,5 +27,24 @@
      */
     protected $loggerType = AdyenLogger::WARNING;
 
-    protected $level = AdyenLogger::WARNING;
+    /**
+     * AdyenNotification constructor.
+     *
+     * @param DriverInterface $filesystem
+     * @param string|null $filePath
+     * @param string|null $fileName
+     * @param string|null $logFormat
+     */
+    public function __construct(
+        DriverInterface $filesystem,
+        ?string $filePath = null,
+        ?string $fileName = null,
+        ?string $logFormat = null
+    ) {
+        // Set the level in constructor to ensure proper type
+        $this->level = Level::Warning;
+        
+        // Call parent constructor with required arguments
+        parent::__construct($filesystem, $filePath, $fileName, $logFormat);
+    }
 }
