diff --git a/README.md b/README.md
index 634195a..8220c90 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
 # Breakpoint Settings
 
-This module grabs all the breakpoints from enabled themes and modules and pass them as an array to drupalSettings to be able to access them from javascript.
+This module grabs all the breakpoints from enabled themes and modules
+and passes them as an array to Drupal.settings to be able to access them
+from javascript.
diff --git a/breakpoints_settings.module b/breakpoints_settings.module
index 0eb60cf..3aade6d 100644
--- a/breakpoints_settings.module
+++ b/breakpoints_settings.module
@@ -23,8 +23,11 @@ function breakpoints_settings_help($route_name, RouteMatchInterface $route_match
   }
 }
 
+/**
+ * Implements hook_page_attachments().
+ */
 function breakpoints_settings_page_attachments(array &$page) {
-  // Grabbing all breakpoint groups by provider
+  // Grabbing all breakpoint groups by provider.
   $groups = \Drupal::service('breakpoint.manager')->getGroups();
   $js_breakpoints = array();
 
@@ -34,8 +37,8 @@ function breakpoints_settings_page_attachments(array &$page) {
       $breakpoints = \Drupal::service('breakpoint.manager')->getBreakpointsByGroup($group_id);
       foreach ($breakpoints as $id => $breakpoint) {
         // Todo remove combine.
-        $labels [] = $breakpoint->getLabel();
-        $medias [] = $breakpoint->getMediaQuery();
+        $labels[] = $breakpoint->getLabel();
+        $medias[] = $breakpoint->getMediaQuery();
         $combine = array_combine($labels, $medias);
         // Nest breakpoints by group with the label as key and query as value.
         $js_breakpoints[$group_id] = $combine;
