public function algorithm() { $algorithm = $this->algorithm ?: getenv('JWT_ALGO'); return $algorithm ?: 'HS256'; }