diff --git a/src/Plugin/views/style/Splitview.php b/src/Plugin/views/style/Splitview.php
index 60d4d1c..06b9bbe 100644
--- a/src/Plugin/views/style/Splitview.php
+++ b/src/Plugin/views/style/Splitview.php
@@ -1,9 +1,4 @@
 <?php
-/**
- * @author: Rene Bakx (rene@renebakx.nl)
- * @date: 04-11-2016
- * @description A views output filter that allows the first xx result in different viewmode then the rest.
- */
 
 namespace Drupal\views_split\Plugin\views\style;
 
@@ -11,6 +6,7 @@ use Drupal\Core\Form\FormStateInterface;
 use Drupal\views\Plugin\views\style\StylePluginBase;
 
 /**
+ * Class Splitview.
  *
  * @ingroup views_style_plugins
  *
@@ -41,7 +37,6 @@ class Splitview extends StylePluginBase {
 
   protected $usesFields = FALSE;
 
-
   /**
    * {@inheritdoc}
    */
@@ -58,7 +53,7 @@ class Splitview extends StylePluginBase {
   public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     $form['#pre_render'][] = array(
       get_class($this),
-      'preRenderAddFieldsetMarkup'
+      'preRenderAddFieldsetMarkup',
     );
     // Not sure if this sticks..
     if (FALSE == $entity_type = $this->view->storage->getExecutable()->rowPlugin->getEntityTypeId()) {
@@ -86,11 +81,22 @@ class Splitview extends StylePluginBase {
       '#type' => 'checkbox',
       '#title' => t('First page only'),
       '#description' => t('Only split the first items on page 1.'),
-      '#default_value' => $this->options['first_page_only']
+      '#default_value' => $this->options['first_page_only'],
     ];
 
   }
 
+  /**
+   * Used to reder the group sets.
+   *
+   * @param array $sets
+   *   Sets of array.
+   * @param int $level
+   *   Used to set the level.
+   *
+   * @return array
+   *   it will return array of contents.
+   */
   public function renderGroupingSets($sets, $level = 0) {
     $output = array();
     $viewMode = $this->options['view_mode'];
@@ -125,8 +131,14 @@ class Splitview extends StylePluginBase {
 
   /**
    * Swaps the viewmode on a render array.
-   * @param $render
+   *
+   * @param array $render
+   *   Used to render the view mode.
    * @param $newViewMode
+   *   Used to store the view mode.
+   *
+   * @return array
+   *    Returns array of content.
    */
   private function swapViewMode($render, $newViewMode) {
     $original_viewmode = $render['#view_mode'];
@@ -138,4 +150,5 @@ class Splitview extends StylePluginBase {
     });
     return $render;
   }
+
 }
