Passed
Branch master (f6241b)
by refat
03:06
created
core/helpers.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -13,6 +13,10 @@  discard block
 block discarded – undo
13 13
 }
14 14
 
15 15
 if (!function_exists('array_get')) {
16
+
17
+    /**
18
+     * @param string $key
19
+     */
16 20
     function array_get($array, $key, $default = null)
17 21
     {
18 22
         return ($array[$key] || $array[$key] == '0') ? $array[$key] : $default;
@@ -132,6 +136,9 @@  discard block
 block discarded – undo
132 136
 
133 137
 if (!function_exists('getAllSubDires')) {
134 138
 
139
+    /**
140
+     * @param string $direPath
141
+     */
135 142
     function getAllSubDires($direPath)
136 143
     {
137 144
         $dirs = [];
Please login to merge, or discard this patch.
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/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
   /**
44 44
    * Add the given path file to the container
45 45
    *
46
-   * @param string $file
46
+   * @param string $key
47 47
    * @return void
48 48
    */
49 49
     private function share($key, $value)
Please login to merge, or discard this patch.
core/System/Http/Request.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,6 @@  discard block
 block discarded – undo
79 79
    * Clean url
80 80
    *
81 81
    * @param string $script
82
-   * @param string $default
83 82
    * @return string
84 83
    */
85 84
     private function cleanUrl($script, $requestUri)
@@ -195,7 +194,7 @@  discard block
 block discarded – undo
195 194
    * Set value To $_POST For the given key
196 195
    *
197 196
    * @param string $key
198
-   * @param mixed $valuet
197
+   * @param mixed $value
199 198
    * @return mixed
200 199
    */
201 200
     public function setPost($key, $value)
Please login to merge, or discard this patch.
core/System/Model.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -86,8 +86,6 @@  discard block
 block discarded – undo
86 86
   /**
87 87
    * Drop a row
88 88
    *
89
-   * @param string $value
90
-   * @param string $key
91 89
    */
92 90
     public function delete($id)
93 91
     {
@@ -97,8 +95,6 @@  discard block
 block discarded – undo
97 95
   /**
98 96
    * Join
99 97
    *
100
-   * @param string $value
101
-   * @param string $key
102 98
    */
103 99
     public function joinGetAll($select, $joins, $table = null)
104 100
     {
Please login to merge, or discard this patch.
core/System/Url.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
    * Redirect to the given path
42 42
    *
43 43
    * @param string $path
44
-   * @param number $num
44
+   * @param integer $num
45 45
    * @return void
46 46
    */
47 47
     public function redirectTo($path, $num = 0)
Please login to merge, or discard this patch.
core/System/View.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
    *
30 30
    * @param string $path
31 31
    * @param array $context
32
-   * @return mixed
32
+   * @return string
33 33
    */
34 34
     public function render($path, array $context)
35 35
     {
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
   'middleware' => ['Authenticate', 'Permissions']
14 14
 ];
15 15
 
16
-$app->route->group($adminOptions, function ($route) {
16
+$app->route->group($adminOptions, function($route) {
17 17
 
18 18
   // Home
19 19
     $route->add('/', 'Home');
Please login to merge, or discard this patch.