Completed
Push — master ( 61861a...273003 )
by Stefano
05:00
created
classes/Email/Envelope.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
     return $this->replyTo;
97 97
   }
98 98
 
99
+  /**
100
+   * @return string
101
+   */
99 102
   public function subject($value=null){
100 103
     if ($value!==null && $value) {
101 104
       $this->compiled_head = null;
@@ -130,6 +133,9 @@  discard block
 block discarded – undo
130 133
     }
131 134
   }
132 135
 
136
+  /**
137
+   * @return string|null
138
+   */
133 139
   public function head($recompile = false){
134 140
     if ($recompile || (null === $this->compiled_head)){
135 141
       $head   = [];
@@ -151,6 +157,9 @@  discard block
 block discarded – undo
151 157
     return \Filter::with( 'core.email.source.head', $this->compiled_head);
152 158
   }
153 159
 
160
+  /**
161
+   * @return string
162
+   */
154 163
   public function body($recompile = false){
155 164
     if ($recompile || (null === $this->compiled_body)){
156 165
       if (!empty($this->attachments)) {
Please login to merge, or discard this patch.
classes/Route.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * Run one of the mapped callbacks to a passed HTTP Method.
84 84
      * @param  array  $args The arguments to be passed to the callback
85 85
      * @param  string $method The HTTP Method requested.
86
-     * @return array The callback response.
86
+     * @return string[] The callback response.
87 87
      */
88 88
     public function run(array $args, $method='get'){
89 89
       $method = strtolower($method);
@@ -204,7 +204,6 @@  discard block
 block discarded – undo
204 204
 
205 205
     /**
206 206
      * Bind a middleware callback to invoked before the route definition
207
-     * @param  callable $before The callback to be invoked ($this is binded to the route object).
208 207
      * @return Route
209 208
      */
210 209
     public function & before($callback){
@@ -308,7 +307,7 @@  discard block
 block discarded – undo
308 307
      * @param  string  $pattern The URL schema with the named parameters
309 308
      * @param  string  $URL The URL to process, if omitted the current request URI will be used.
310 309
      * @param  boolean $cut If true don't limit the matching to the whole URL (used for group pattern extraction)
311
-     * @return array The extracted variables
310
+     * @return callable The extracted variables
312 311
      */
313 312
     protected static function extractVariablesFromURL($pattern, $URL=null, $cut=false){
314 313
       $URL     = $URL ?: Request::URI();
@@ -331,7 +330,6 @@  discard block
 block discarded – undo
331 330
 
332 331
     /**
333 332
      * Add a route to the internal route repository.
334
-     * @param Route $r
335 333
      * @return Route
336 334
      */
337 335
     public static function add($route){
Please login to merge, or discard this patch.
classes/Request.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -92,6 +92,7 @@
 block discarded – undo
92 92
    * Returns all elements if you pass `null` as $key
93 93
    *
94 94
    * @param  string $key The name of the input value
95
+   * @param boolean $default
95 96
    *
96 97
    * @return Object The returned value or $default.
97 98
    */
Please login to merge, or discard this patch.