diff --git a/Plugin/EventSubscriber.php b/Plugin/EventSubscriber.php
index <HASH>..<HASH> 100644
--- a/Plugin/EventSubscriber.php
+++ b/Plugin/EventSubscriber.php
@@ -11,23 +11,28 @@
 
 namespace Yosymfony\Spress\Core\Plugin;
 
+/**
+ * Event subscriber.
+ *
+ * @author Victor Puertas <vpgugr@gmail.com>
+ */
 class EventSubscriber
 {
     private $listener = [];
 
     /**
-     * Add a listener for one event
+     * Add a listener for one event.
      *
      * @param string   $eventName
-     * @param callable $listener
+     * @param \closure $listener
      */
-    public function addEventListener($eventName, $listener)
+    public function addEventListener($eventName, \closure $listener)
     {
         $this->listener[$eventName] = $listener;
     }
 
     /**
-     * Get event listeners
+     * Get event listeners.
      *
      * @return array
      */
Argument 'listener' from addEventListener is a type closure