Completed
Branch master (5105da)
by Stefano
02:21
created
classes/View.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * Load a Template Handler
32
-     * @param  class $handler The template handler class instance
32
+     * @param  View\Adapter $handler The template handler class instance
33 33
      */
34 34
     public static function using(View\Adapter &$handler){
35 35
       static::$handler = $handler;
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * Returns the handler instance
72
-     * @return mixed
72
+     * @return View\Adapter
73 73
      */
74 74
     public static function & handler(){
75 75
       return static::$handler;
Please login to merge, or discard this patch.
classes/View/PHP.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
57 57
 class PHPContext {
58 58
     protected $data      = [];
59 59
 
60
+    /**
61
+     * @param string $path
62
+     */
60 63
     public function __construct($data=[], $path=null){
61 64
         $this->data = $data;
62 65
     }
Please login to merge, or discard this patch.