Completed
Push — 186-data ( d4ee1e )
by
unknown
08:25 queued 10s
created
src/Template/include.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
     };
33 33
 }
34 34
 
35
+/**
36
+ * @param \Closure $include
37
+ */
35 38
 function validatePathInclude($include, $file_exists = 'file_exists') {
36 39
     return function($path, array $vars) use ($include, $file_exists) {
37 40
         if (!$file_exists($path)) {
Please login to merge, or discard this patch.
src/Engine.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -75,15 +75,28 @@
 block discarded – undo
75 75
         $this->container->get('config');
76 76
     }
77 77
 
78
+    /**
79
+     * @param string $id
80
+     */
78 81
     public function get($id) {
79 82
         return $this->container->get($id);
80 83
     }
81 84
     public function has($id) {
82 85
         return $this->contianer->has($id);
83 86
     }
87
+
88
+    /**
89
+     * @param string $id
90
+     * @param \Closure $value
91
+     */
84 92
     public function add($id, $value) {
85 93
         $this->container->add($id, $value);
86 94
     }
95
+
96
+    /**
97
+     * @param string $id
98
+     * @param \Closure $wrapper
99
+     */
87 100
     public function wrap($id, $wrapper) {
88 101
         $this->container->wrap($id, $wrapper);
89 102
     }
Please login to merge, or discard this patch.