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;