diff --git a/jsonapi_explorer.module b/jsonapi_explorer.module
index 21d6c8c..364b5d6 100644
--- a/jsonapi_explorer.module
+++ b/jsonapi_explorer.module
@@ -1,10 +1,20 @@
 <?php
 
+/**
+ * @file
+ * Containt jsonapi_explorer hooks.
+ */
+
+use Drupal\Core\Url;
+
+/**
+ * Implements hook_form_FORM_ID_alter().
+ */
 function jsonapi_explorer_form_jsonapi_settings_alter(&$form) {
   if (\Drupal::currentUser()->hasPermission('use the jsonapi explorer')) {
     global $base_url;
     \Drupal::messenger()->addStatus(t('Explore your API by <a href=":href" target="_blank">visiting the explorer!</a>', [
-      ':href' => \Drupal\Core\Url::fromRoute('jsonapi_explorer.app.index', [], [
+      ':href' => Url::fromRoute('jsonapi_explorer.app.index', [], [
         'query' => [
           'location' => $base_url,
         ],
diff --git a/src/Controller/AppProxyController.php b/src/Controller/AppProxyController.php
index 55e0c68..a25ee38 100755
--- a/src/Controller/AppProxyController.php
+++ b/src/Controller/AppProxyController.php
@@ -16,7 +16,7 @@ use Symfony\Component\HttpFoundation\StreamedResponse;
 final class AppProxyController extends ControllerBase {
 
   /**
-   * The URL of the remo
+   * The URL of the remote.
    *
    * @var string
    */
@@ -29,17 +29,12 @@ final class AppProxyController extends ControllerBase {
    */
   protected $httpClient;
 
-  /**
-   * @var array
-   */
-  protected $corsConfig;
-
   /**
    * AppProxyController constructor.
    *
    * @param \GuzzleHttp\Client $http_client
    *   An HTTP client.
-   * @param $explorer_url
+   * @param string $explorer_url
    *   The URL of the explorer SPA to proxy.
    */
   public function __construct(Client $http_client, $explorer_url) {
@@ -71,7 +66,7 @@ final class AppProxyController extends ControllerBase {
   }
 
   /**
-   * @param $file
+   * @param string $file
    *
    * @return \Symfony\Component\HttpFoundation\StreamedResponse
    */
