Completed
Pull Request — master (#23)
by Shestakov
15:36
created
Source/Ice/DataProvider/Session.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
      *
126 126
      * @param  $key
127 127
      * @param  int $step
128
-     * @return mixed new value
128
+     * @return integer new value
129 129
      *
130 130
      * @author dp <[email protected]>
131 131
      *
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,8 @@
 block discarded – undo
8 8
 
9 9
 namespace Ice\WidgetComponent;
10 10
 
11
-use Ice\Core\Debuger;
12 11
 use Ice\Core\Render;
13 12
 use Ice\Core\Resource;
14
-use Ice\Exception\Error;
15 13
 use Ice\Helper\String;
16 14
 use Ice\Render\Replace;
17 15
 
Please login to merge, or discard this patch.
Source/Ice/DataSource/Mysqli.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     }
298 298
 
299 299
     /**
300
-     * @param $sql
300
+     * @param string $sql
301 301
      * @return mixed
302 302
      * @throws Exception
303 303
      *
@@ -952,7 +952,7 @@  discard block
 block discarded – undo
952 952
     /**
953 953
      * Create save point transactions
954 954
      *
955
-     * @param $savePoint
955
+     * @param string $savePoint
956 956
      *
957 957
      * @author dp <[email protected]>
958 958
      *
@@ -994,7 +994,7 @@  discard block
 block discarded – undo
994 994
     /**
995 995
      * Release save point transactions
996 996
      *
997
-     * @param $savePoint
997
+     * @param string $savePoint
998 998
      *
999 999
      * @author dp <[email protected]>
1000 1000
      *
@@ -1035,7 +1035,7 @@  discard block
 block discarded – undo
1035 1035
     /**
1036 1036
      * Rollback save point transactions
1037 1037
      *
1038
-     * @param $savePoint
1038
+     * @param string $savePoint
1039 1039
      *
1040 1040
      * @author dp <[email protected]>
1041 1041
      *
@@ -1051,7 +1051,7 @@  discard block
 block discarded – undo
1051 1051
      * Translate ice query language for get data
1052 1052
      *
1053 1053
      * @param array $iceql
1054
-     * @return mixed
1054
+     * @return string
1055 1055
      *
1056 1056
      * @author dp <[email protected]>
1057 1057
      *
@@ -1194,7 +1194,7 @@  discard block
 block discarded – undo
1194 1194
      * Translate ice query language for set data
1195 1195
      *
1196 1196
      * @param array $iceql
1197
-     * @return mixed setted value
1197
+     * @return string setted value
1198 1198
      *
1199 1199
      * @author dp <[email protected]>
1200 1200
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Ice\Action\Render;
6 6
 use Ice\Core\Action;
7
-use Ice\Core\Debuger;
8 7
 use Ice\Core\Request;
9 8
 use Ice\Core\Resource;
10 9
 use Ice\Core\Route;
Please login to merge, or discard this patch.
Source/Ice/Filter/Date/Format.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * @param array $data
18 18
      * @param $name
19 19
      * @param  mixed $filterOptions
20
-     * @return mixed
20
+     * @return null|string
21 21
      * @throws Filter_Invalid
22 22
      * @author anonymous <email>
23 23
      *
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,7 @@
 block discarded – undo
10 10
 namespace Ice\Helper;
11 11
 
12 12
 use FilesystemIterator;
13
-use Ice\Core\Debuger;
14 13
 use Ice\Core\Logger as Core_Logger;
15
-use Ice\Core\Module;
16 14
 use RecursiveDirectoryIterator;
17 15
 use RecursiveIteratorIterator;
18 16
 
Please login to merge, or discard this patch.
Source/Ice/Helper/Console.php 2 patches
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,9 +119,9 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * Return interactive output for define variable from input
121 121
      *
122
-     * @param  $class
123
-     * @param  $param
124
-     * @param $desc
122
+     * @param  string $class
123
+     * @param  string $param
124
+     * @param string $desc
125 125
      * @param  $data
126 126
      * @return string
127 127
      * @author dp <[email protected]>
@@ -237,6 +237,9 @@  discard block
 block discarded – undo
237 237
         return Console::run(Console::getCommand('ssh') . ' -p ' . $port . ' -i ' . $keyPath . ' ' . $user . '@' . $host . ' ' . escapeshellarg($commandString));
238 238
     }
239 239
 
240
+    /**
241
+     * @param string $string
242
+     */
240 243
     public static function getCommand($string)
241 244
     {
242 245
         return file_exists('/usr/bin/' . $string) ? '/usr/bin/' . $string : '/usr/local/bin/' . $string;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 
10 10
 namespace Ice\Helper;
11 11
 
12
-use Ice\Core\Logger;
13 12
 use Ice\Core\Logger as Core_Logger;
14 13
 use Ice\Core\Resource as Core_Resource;
15 14
 use Ice\Core\Validator as Core_Validator;
Please login to merge, or discard this patch.
Source/Ice/Helper/Date.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,6 +137,10 @@  discard block
 block discarded – undo
137 137
         return Date::strftime('%B', $time, $locale);
138 138
     }
139 139
 
140
+    /**
141
+     * @param string $format
142
+     * @param string $locale
143
+     */
140 144
     private static function strftime($format, $time, $locale)
141 145
     {
142 146
         $defaultLocale = setlocale(LC_TIME, 0);
@@ -162,7 +166,7 @@  discard block
 block discarded – undo
162 166
     }
163 167
 
164 168
     /**
165
-     * @param $checkTime - Checked time in seconds
169
+     * @param integer $checkTime - Checked time in seconds
166 170
      * @param $ttl - Time to live in seconds
167 171
      * @param $onTime - Check on timestamp in seconds
168 172
      * @return bool
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,8 @@
 block discarded – undo
8 8
 
9 9
 namespace Ice\WidgetComponent;
10 10
 
11
-use Ice\Core\Debuger;
12 11
 use Ice\Core\Render;
13 12
 use Ice\Core\Resource;
14
-use Ice\Exception\Error;
15 13
 use Ice\Helper\String;
16 14
 use Ice\Render\Replace;
17 15
 
Please login to merge, or discard this patch.
Source/Ice/Helper/File.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Save data into file
33 33
      *
34
-     * @param  $path
34
+     * @param  string|null $path
35 35
      * @param  $data
36 36
      * @param  bool $phpData
37 37
      * @param  int $file_put_contents_flag
@@ -95,10 +95,10 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Rename/move file
97 97
      *
98
-     * @param $from
99
-     * @param $to
98
+     * @param null|string $from
99
+     * @param null|string $to
100 100
      * @param bool $isRequire
101
-     * @return mixed
101
+     * @return boolean
102 102
      * @throws Error
103 103
      * @author dp <[email protected]>
104 104
      *
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * @param $to
132 132
      *
133 133
      * @param bool $isRequire
134
-     * @return mixed
134
+     * @return string
135 135
      * @throws Error
136 136
      * @author dp <[email protected]>
137 137
      *
Please login to merge, or discard this patch.
Source/Ice/Helper/Http.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Return content type header by file extension
83 83
      *
84
-     * @param  $extension
84
+     * @param  string $extension
85 85
      * @return string
86 86
      *
87 87
      * @author dp <[email protected]>
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Gets content via http
140 140
      *
141
-     * @param  $url
141
+     * @param  string $url
142 142
      * @return string
143 143
      *
144 144
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Source/Ice/Helper/Input.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Ice\Action\Render;
6 6
 use Ice\Core\Action;
7
-use Ice\Core\Debuger;
8 7
 use Ice\Core\Request;
9 8
 use Ice\Core\Resource;
10 9
 use Ice\Core\Route;
Please login to merge, or discard this patch.
Source/Ice/Helper/Php.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      *
30 30
      * @param  $var
31 31
      * @param  bool $withPhpTag
32
-     * @return mixed|string
32
+     * @return string
33 33
      * @author dp <[email protected]>
34 34
      *
35 35
      * @version 0.0
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-     * @param $php_code
108
+     * @param string $php_code
109 109
      * @return array
110 110
      *
111 111
      * @author dp <[email protected]>
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * Make a string with _ characters to camelCase method name
136 136
      *
137 137
      * @param $name
138
-     * @param null $prefix
138
+     * @param string $prefix
139 139
      * @return string
140 140
      *
141 141
      * @author dp <[email protected]>
Please login to merge, or discard this patch.