From 079f19f62e5f4c4ecfd719a50f401f9b8a817e2f Mon Sep 17 00:00:00 2001 From: L45eMy Date: Mon, 30 Sep 2024 03:39:43 +0200 Subject: [PATCH] Use static late binding for file name --- src/PKPass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PKPass.php b/src/PKPass.php index 79736c7..90ec51f 100644 --- a/src/PKPass.php +++ b/src/PKPass.php @@ -335,9 +335,9 @@ public function create($output = false) */ public function getName() { - $name = $this->name ?: self::FILE_TYPE; + $name = $this->name ?: static::FILE_TYPE; if (!strstr($name, '.')) { - $name .= '.' . self::FILE_EXT; + $name .= '.' . static::FILE_EXT; } return $name;