Passed
Branch master (8a199a)
by refat
15:12
created
core/System/Database.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -218,6 +218,9 @@
 block discarded – undo
218 218
         return $sql;
219 219
     }
220 220
 
221
+    /**
222
+     * @param string $sql
223
+     */
221 224
     private function fetchStatmentExtra($sql)
222 225
     {
223 226
         if (!empty($this->havings)) {
Please login to merge, or discard this patch.
core/System/Email.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * Add addresses
82 82
      *
83 83
      * @param string|array $addresses
84
-     * @return object $this
84
+     * @return Email $this
85 85
      */
86 86
     public function address($addresses)
87 87
     {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      * Add addresses
95 95
      *
96 96
      * @param array $replayTo
97
-     * @return object $this
97
+     * @return Email $this
98 98
      */
99 99
     public function replayTo(array $replayTo = [])
100 100
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      * Add attachments to email
108 108
      *
109 109
      * @param string|array $attachments
110
-     * @return object $this
110
+     * @return Email $this
111 111
      */
112 112
     public function attachments($attachments)
113 113
     {
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * Add bcc to email
121 121
      *
122 122
      * @param string|array $bcc
123
-     * @return object $this
123
+     * @return Email $this
124 124
      */
125 125
     public function bcc($bcc)
126 126
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * Add cc to email
134 134
      *
135 135
      * @param string|array $cc
136
-     * @return object $this
136
+     * @return Email $this
137 137
      */
138 138
     public function cc($cc)
139 139
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      * @param string $subject
150 150
      * @param string $body
151 151
      * @param string $altBody
152
-     * @return object $this
152
+     * @return Email $this
153 153
      */
154 154
     public function content(string $html, string $subject, string $body, string $altBody)
155 155
     {
Please login to merge, or discard this patch.
core/System/Http/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
     /**
175 175
      * Check the request method
176 176
      *
177
-     * @param string|array $methods
177
+     * @param string|array $method
178 178
      * @return bool
179 179
      */
180 180
     public function isMatchingRequestMethod($method)
Please login to merge, or discard this patch.
core/System/Http/UploadeFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * Recive the file key
86 86
      *
87 87
      * @param string $file
88
-     * @return object $this;
88
+     * @return UploadeFile $this;
89 89
      */
90 90
     public function file(string $file)
91 91
     {
Please login to merge, or discard this patch.
core/System/Message.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * @property string $key
28 28
      * @param array $arguments
29 29
      *
30
-     * @return method editMsg()
30
+     * @return string editMsg()
31 31
      */
32 32
     public function __call($key, $arguments)
33 33
     {
Please login to merge, or discard this patch.
core/System/Route.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * @param string $action
71 71
      * @param string|array $requestMethods
72 72
      * @param string|array $middleware
73
-     * @return object $this
73
+     * @return Route $this
74 74
      */
75 75
     private function add(string $url, string $action, $requestMethods, $middleware = [])
76 76
     {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * @param string $url
97 97
      * @param string $action
98 98
      * @param string|array $middleware
99
-     * @return object $this
99
+     * @return Route $this
100 100
      */
101 101
     public function get(string $url, string $action, $middleware = [])
102 102
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      * @param string $url
111 111
      * @param string $action
112 112
      * @param string|array $middleware
113
-     * @return object $this
113
+     * @return Route $this
114 114
      */
115 115
     public function post(string $url, string $action, $middleware = [])
116 116
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * Merge the given middleware if exists
152 152
      *
153 153
      * @param string $middleware
154
-     * @return array
154
+     * @return string
155 155
      */
156 156
     private function setMiddleware($middleware)
157 157
     {
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      *
209 209
      * @property object $url
210 210
      * @param string $pattern
211
-     * @return bool
211
+     * @return integer
212 212
      */
213 213
     private function isMatchingPattern($pattern)
214 214
     {
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      *
242 242
      * @param array $groupOptions
243 243
      * @param callable $callback
244
-     * @return object $this
244
+     * @return Route $this
245 245
      */
246 246
     public function group(array $groupOptions, callable $callback)
247 247
     {
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
      * @param string $url
269 269
      * @param string $controller
270 270
      * @param array $middlewares
271
-     * @return object $this
271
+     * @return Route $this
272 272
      */
273 273
     public function package(string $url, string $controller, array $middlewares = [])
274 274
     {
Please login to merge, or discard this patch.
routes/admin/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
   'middleware' => ['Authenticate', 'Permissions']
9 9
 ];
10 10
 
11
-$app->route->group($adminOptions, function ($route) {
11
+$app->route->group($adminOptions, function($route) {
12 12
     $route->get('/', 'Home');
13 13
     $route->get('/home', 'Home');
14 14
 });
Please login to merge, or discard this patch.