diff --git a/simple_sitemap_page_manager.module b/simple_sitemap_page_manager.module
index e1f999b..3e681d6 100644
--- a/simple_sitemap_page_manager.module
+++ b/simple_sitemap_page_manager.module
@@ -6,10 +6,9 @@
  */
 
 use Drupal\Core\Form\FormStateInterface;
-use Drupal\Core\Url;
 
 /**
- * Implements hook_form_alter().
+ * Implements hook_form_FORM_ID_alter().
  */
 function simple_sitemap_page_manager_form_page_manage_variant_configure_form_alter(&$form, FormStateInterface $form_state, $form_id) {
   $form_helper = \Drupal::service('simple_sitemap.form_helper');
@@ -38,7 +37,7 @@ function simple_sitemap_page_manager_form_page_manage_variant_configure_form_alt
         ['@variant_label' => ucfirst($variant_label)]),
     ],
     '#weight' => 0,
-    '#default_value' => isset($include_sitemap) ? $include_sitemap : 0,
+    '#default_value' => $include_sitemap ?? 0,
     '#attributes' => [
       'id' => 'include_sitemap',
     ],
@@ -50,9 +49,9 @@ function simple_sitemap_page_manager_form_page_manage_variant_configure_form_alt
   $form['variant_settings']['sitemap']['priority'] = [
     '#type' => 'select',
     '#title' => t('Priority'),
-    '#description' => 'The priority this display will have in the eyes of search engine bots.',
+    '#description' => t('The priority this display will have in the eyes of search engine bots.'),
     '#options' => $form_helper->getPrioritySelectValues(),
-    '#default_value' => isset($priority) ? $priority : '0.5',
+    '#default_value' => $priority ?? '0.5',
     '#states' => [
       'visible' => [
         ':input[id="include_sitemap"]' => ['value' => 1],
@@ -68,7 +67,7 @@ function simple_sitemap_page_manager_form_page_manage_variant_configure_form_alt
     '#title' => t('Change frequency'),
     '#description' => t('The frequency with which this display changes. Search engine bots may take this as an indication of how often to index it.'),
     '#options' => $form_helper->getChangefreqSelectValues(),
-    '#default_value' => isset($changefreq) ? $changefreq : 'daily',
+    '#default_value' => $changefreq ?? 'daily',
     '#states' => [
       'visible' => [
         ':input[id="include_sitemap"]' => ['value' => 1],
diff --git a/src/Controller/SimpleSitemapPagesController.php b/src/Controller/SimpleSitemapPagesController.php
index 9d81d02..170294a 100644
--- a/src/Controller/SimpleSitemapPagesController.php
+++ b/src/Controller/SimpleSitemapPagesController.php
@@ -30,10 +30,10 @@ class SimpleSitemapPagesController extends ControllerBase {
   /**
    * SimplesitemapController constructor.
    *
-   * @param \Drupal\simple_sitemap\Form\FormHelper $form_helper
-   *   The form helper.
    * @param \Drupal\simple_sitemap_page_manager\SimpleSitemapPagesManager $pages_manager
    *   The sitemap pages manager.
+   * @param \Drupal\simple_sitemap\Settings $settings
+   *   The settings.
    */
   public function __construct(SimpleSitemapPagesManager $pages_manager, Settings $settings) {
     $this->pageManager = $pages_manager;
diff --git a/src/Plugin/simple_sitemap/UrlGenerator/PagesUrlGenerator.php b/src/Plugin/simple_sitemap/UrlGenerator/PagesUrlGenerator.php
index dd812eb..c7ec2d9 100644
--- a/src/Plugin/simple_sitemap/UrlGenerator/PagesUrlGenerator.php
+++ b/src/Plugin/simple_sitemap/UrlGenerator/PagesUrlGenerator.php
@@ -55,10 +55,10 @@ class PagesUrlGenerator extends EntityUrlGeneratorBase {
    *   The plugin_id for the plugin instance.
    * @param mixed $plugin_definition
    *   The plugin implementation definition.
-   * @param \Drupal\simple_sitemap\Simplesitemap $generator
-   *   The simple_sitemap.generator service.
    * @param \Drupal\simple_sitemap\Logger $logger
    *   The simple_sitemap.logger service.
+   * @param \Drupal\simple_sitemap\Settings $settings
+   *   The settings.
    * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
    *   The language manager.
    * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
@@ -100,7 +100,7 @@ class PagesUrlGenerator extends EntityUrlGeneratorBase {
   /**
    * {@inheritdoc}
    */
-  public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): SimpleSitemapPluginBase  {
+  public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): SimpleSitemapPluginBase {
     return new static(
     $configuration,
     $plugin_id,
@@ -153,7 +153,7 @@ class PagesUrlGenerator extends EntityUrlGeneratorBase {
    * @return array
    *   Process the required information to index each page.
    */
-  protected function processDataSet($data_set): array  {
+  protected function processDataSet($data_set): array {
     $url_object = Url::fromUserInput($data_set['path'], ['absolute' => TRUE]);
     $path = $url_object->getInternalPath();
     $path_data = [
diff --git a/src/SimpleSitemapPagesManager.php b/src/SimpleSitemapPagesManager.php
index cf26747..00075ae 100644
--- a/src/SimpleSitemapPagesManager.php
+++ b/src/SimpleSitemapPagesManager.php
@@ -5,7 +5,7 @@ namespace Drupal\simple_sitemap_page_manager;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
 
 /**
- * Class SimpleSitemapPagesManager.
+ * Manages the retrieval of panel pages selected to be indexed in the sitemap.
  *
  * @package Drupal\simple_sitemap_page_manager
  */
