Completed
Pull Request — master (#81)
by
unknown
02:53
created
Zewa/View.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -200,6 +200,9 @@  discard block
 block discarded – undo
200 200
         return false;
201 201
     }
202 202
 
203
+    /**
204
+     * @param string|boolean $layout
205
+     */
203 206
     public function setLayout($layout)
204 207
     {
205 208
         if ($layout === false) {
@@ -241,6 +244,10 @@  discard block
 block discarded – undo
241 244
      * @return string processed content
242 245
      */
243 246
     //@TODO: come back and clean up this and the way the view receives stuff
247
+
248
+    /**
249
+     * @param string|boolean $file
250
+     */
244 251
     private function process($file)
245 252
     {
246 253
         ob_start();
Please login to merge, or discard this patch.
Zewa/App.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,6 @@  discard block
 block discarded – undo
172 172
      * Attach (or remove) multiple callbacks to an event and trigger those callbacks when that event is called.
173 173
      *
174 174
      * @param string $event    name
175
-     * @param mixed  $value    the optional value to pass to each callback
176 175
      * @param mixed  $callback the method or function to call - FALSE to remove all callbacks for event
177 176
      */
178 177
 
@@ -186,6 +185,9 @@  discard block
 block discarded – undo
186 185
         }
187 186
     }
188 187
 
188
+    /**
189
+     * @param string $event
190
+     */
189 191
     public function callEvent($event, $method = false, $arguments = [])
190 192
     {
191 193
         if (isset(self::$events[$event])) {
Please login to merge, or discard this patch.