Completed
Push — master ( 24ae5a...1cc63b )
by
unknown
02:14
created
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.
classes/Route.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      * Run one of the mapped callbacks to a passed HTTP Method.
103 103
      * @param  array  $args The arguments to be passed to the callback
104 104
      * @param  string $method The HTTP Method requested.
105
-     * @return array The callback response.
105
+     * @return string[] The callback response.
106 106
      */
107 107
     public function run(array $args, $method='get'){
108 108
       $method = strtolower($method);
@@ -226,7 +226,6 @@  discard block
 block discarded – undo
226 226
 
227 227
     /**
228 228
      * Bind a middleware callback to invoked before the route definition
229
-     * @param  callable $before The callback to be invoked ($this is binded to the route object).
230 229
      * @return Route
231 230
      */
232 231
     public function & before($callback){
@@ -350,7 +349,7 @@  discard block
 block discarded – undo
350 349
      * Helper for reverse routing : obtain a complete URL for a named route with passed parameters
351 350
      * @param  string $name The name tag of the route.
352 351
      * @param  array $params The parameter map of the route dynamic values.
353
-     * @return string
352
+     * @return URL
354 353
      */
355 354
     public static function URL($name, $params = []){
356 355
       return ($r = static::as($name)) ? $r-> getURL($params) : new URL();
@@ -380,7 +379,7 @@  discard block
 block discarded – undo
380 379
      * @param  string  $pattern The URL schema with the named parameters
381 380
      * @param  string  $URL The URL to process, if omitted the current request URI will be used.
382 381
      * @param  boolean $cut If true don't limit the matching to the whole URL (used for group pattern extraction)
383
-     * @return array The extracted variables
382
+     * @return callable The extracted variables
384 383
      */
385 384
     protected static function extractVariablesFromURL($pattern, $URL=null, $cut=false){
386 385
       $URL     = $URL ?: Request::URI();
Please login to merge, or discard this patch.
classes/Relation.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@  discard block
 block discarded – undo
17 17
    * This function can be used to get all options passing null, setting options passing an associative
18 18
    * array or retrieve a single value passing a string
19 19
    *
20
-   * @param  mixed $options The options passed to the relation layer.
21 20
    * @return mixed          All options array or a single value
22 21
    */
23 22
   protected static function & relationOptions(){
@@ -31,7 +30,7 @@  discard block
 block discarded – undo
31 30
    * The save callback interface is
32 31
    *   function($table, array $options)
33 32
    *
34
-   * @param  callable $callback The callback to use on model save
33
+   * @param string $plurality
35 34
    * @return callable           Current save callback
36 35
    */
37 36
   private static function relationAddRelationshipTo($link, $plurality, $extra=[]){
Please login to merge, or discard this patch.