Completed
Push — master ( 4ff2ad...4ba911 )
by Franck
03:40
created
src/php/Apix/Router.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,6 @@  discard block
 block discarded – undo
104 104
      *      - router params,
105 105
      *      - then router defauls.
106 106
      *
107
-     * @param  string $route
108 107
      * @param  array  $rules
109 108
      * @param  array  $params
110 109
      * @return void
@@ -301,7 +300,7 @@  discard block
 block discarded – undo
301 300
      * Checks a specified router param exists.
302 301
      *
303 302
      * @param  string $key A key to check
304
-     * @return bolean
303
+     * @return boolean
305 304
      */
306 305
     public function hasParam($key)
307 306
     {
Please login to merge, or discard this patch.
src/php/Apix/Server.php 1 patch
Doc Comments   +9 added lines, -10 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     * @param string $path The path name to match against.
26 26
     * @param mixed  $to   Callback that returns the response when matched.
27 27
     * @see  Server::proxy
28
-    * @return Controller Provides a fluent interface.
28
+    * @return Entity Provides a fluent interface.
29 29
     */
30 30
     public function onCreate($path, $to)
31 31
     {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @param  string     $path The path name to match against.
39 39
      * @param  mixed      $to   Callback that returns the response when matched.
40 40
      * @see  Server::proxy
41
-     * @return Controller Provides a fluent interface.
41
+     * @return Entity Provides a fluent interface.
42 42
      */
43 43
     public function onRead($path, $to)
44 44
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @param  string     $path The path name to match against.
52 52
      * @param  mixed      $to   Callback that returns the response when matched.
53 53
      * @see  Server::proxy
54
-     * @return Controller Provides a fluent interface.
54
+     * @return Entity Provides a fluent interface.
55 55
      */
56 56
     public function onUpdate($path, $to)
57 57
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param  string     $path The path name to match against.
65 65
      * @param  mixed      $to   Callback that returns the response when matched.
66 66
      * @see  Server::proxy
67
-     * @return Controller Provides a fluent interface.
67
+     * @return Entity Provides a fluent interface.
68 68
      */
69 69
     public function onModify($path, $to)
70 70
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @param  string     $path The path name to match against.
78 78
      * @param  mixed      $to   Callback that returns the response when matched.
79 79
      * @see  Server::proxy
80
-     * @return Controller Provides a fluent interface.
80
+     * @return Entity Provides a fluent interface.
81 81
      */
82 82
     public function onDelete($path, $to)
83 83
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * @param  string     $path The path name to match against.
91 91
      * @param  mixed      $to   Callback that returns the response when matched.
92 92
      * @see  Server::proxy
93
-     * @return Controller Provides a fluent interface.
93
+     * @return Entity Provides a fluent interface.
94 94
      */
95 95
     public function onHelp($path, $to)
96 96
     {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * @param  string     $path The path name to match against.
104 104
      * @param  mixed      $to   Callback that returns the response when matched.
105 105
      * @see  Server::proxy
106
-     * @return Controller Provides a fluent interface.
106
+     * @return Entity Provides a fluent interface.
107 107
      */
108 108
     public function onTest($path, $to)
109 109
     {
@@ -116,9 +116,9 @@  discard block
 block discarded – undo
116 116
     *
117 117
     * @param    string          $method     The HTTP method to match against.
118 118
     * @param    string          $path       The path name to match against.
119
-    * @param    mixed           $to         Callback that returns the response
119
+    * @param    \Closure           $to         Callback that returns the response
120 120
     *                                       when matched.
121
-    * @return   Controller
121
+    * @return   Entity
122 122
     */
123 123
     protected function proxy($method, $path, \Closure $to)
124 124
     {
@@ -139,7 +139,6 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * TODO: Test Read from a group.
141 141
      *
142
-     * @param  array  $opts Options are:
143 142
      * @return string
144 143
      * @codeCoverageIgnore
145 144
      */
Please login to merge, or discard this patch.
src/php/Apix/Service.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@  discard block
 block discarded – undo
18 18
     /**
19 19
      * Returns the specified service -- or all if unspecified.
20 20
      *
21
-     * @param  string     $key=null  The service key to retrieve.
22
-     * @param  array|null $args=null An array of argument to pass to the service.
21
+     * @param string $key
23 22
      * @return mixed
24 23
      */
25 24
     public static function get($key=null, $args=null)
@@ -55,8 +54,7 @@  discard block
 block discarded – undo
55 54
     /**
56 55
      * Checks wether the named service exists or not.
57 56
      *
58
-     * @param  string  $name The service name to look for.
59
-     * @return boolean
57
+     * @return boolean|null
60 58
      */
61 59
     public static function debug($key=null)
62 60
     {
Please login to merge, or discard this patch.
src/php/Apix/Session.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,6 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * Check if the specified user data is set.
110 110
      *
111
-     * @param  string  $group
112 111
      * @return boolean
113 112
      */
114 113
     public function hasTrustedIps()
@@ -119,7 +118,6 @@  discard block
 block discarded – undo
119 118
     /**
120 119
      * Adds arbitrary session data.
121 120
      *
122
-     * @param  string $group
123 121
      * @return void
124 122
      */
125 123
     public function addData($key, $value)
@@ -130,7 +128,6 @@  discard block
 block discarded – undo
130 128
     /**
131 129
      * Checks wether the specified key is set in the session dataset.
132 130
      *
133
-     * @param  string  $group
134 131
      * @return boolean
135 132
      */
136 133
     public function hasData($key)
Please login to merge, or discard this patch.
src/php/Apix/View/ViewModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
         return $this;
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $key
74
+     */
72 75
     public function get($key, $htmlize=true)
73 76
     {
74 77
         $v = isset($this->{$key}) ? (array) $this->{$key} : array();
Please login to merge, or discard this patch.
src/php/Apix/View/ViewModel/Common.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * Returns the man index/section string.
91 91
      *
92
-     * @return integer
92
+     * @return string
93 93
      */
94 94
     public function getManTocSection()
95 95
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * _def - view helper.
111 111
      *
112
-     * @return string
112
+     * @return \Closure
113 113
      */
114 114
     public function _def()
115 115
     {
@@ -191,6 +191,9 @@  discard block
 block discarded – undo
191 191
 
192 192
     /* ---- generic helpers --- */
193 193
 
194
+    /**
195
+     * @param string $mix
196
+     */
194 197
     public function hasMany($mix)
195 198
     {
196 199
         if (is_string($mix) && isset($this->{$mix})) {
Please login to merge, or discard this patch.
src/php/Apix/View/ViewModel/Error.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Apix\View\ViewModel;
14 14
 
15
-use Apix\View\ViewModel,
16
-    Apix\Response;
15
+use Apix\View\ViewModel;
16
+use Apix\Response;
17 17
 
18 18
 class Error extends Common
19 19
 {
Please login to merge, or discard this patch.