Completed
Pull Request — master (#23)
by Shestakov
06:47
created
Source/Ice/DataProvider/Security.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      * Connect to data provider
49 49
      *
50 50
      * @param  $connection
51
-     * @return boolean
51
+     * @return Core_Security|null
52 52
      *
53 53
      * @author anonymous <email>
54 54
      *
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
@@ -932,7 +932,7 @@  discard block
 block discarded – undo
932 932
     /**
933 933
      * Create save point transactions
934 934
      *
935
-     * @param $savePoint
935
+     * @param string $savePoint
936 936
      *
937 937
      * @author dp <[email protected]>
938 938
      *
@@ -947,7 +947,7 @@  discard block
 block discarded – undo
947 947
     /**
948 948
      * Rollback save point transactions
949 949
      *
950
-     * @param $savePoint
950
+     * @param string $savePoint
951 951
      *
952 952
      * @author dp <[email protected]>
953 953
      *
@@ -962,7 +962,7 @@  discard block
 block discarded – undo
962 962
     /**
963 963
      * Release save point transactions
964 964
      *
965
-     * @param $savePoint
965
+     * @param string $savePoint
966 966
      *
967 967
      * @author dp <[email protected]>
968 968
      *
@@ -1006,7 +1006,7 @@  discard block
 block discarded – undo
1006 1006
     }
1007 1007
 
1008 1008
     /**
1009
-     * @param $sql
1009
+     * @param string $sql
1010 1010
      * @return mixed
1011 1011
      * @throws Exception
1012 1012
      *
@@ -1048,7 +1048,7 @@  discard block
 block discarded – undo
1048 1048
      * Translate ice query language for get data
1049 1049
      *
1050 1050
      * @param array $iceql
1051
-     * @return mixed
1051
+     * @return string
1052 1052
      *
1053 1053
      * @author dp <[email protected]>
1054 1054
      *
@@ -1191,7 +1191,7 @@  discard block
 block discarded – undo
1191 1191
      * Translate ice query language for set data
1192 1192
      *
1193 1193
      * @param array $iceql
1194
-     * @return mixed setted value
1194
+     * @return string setted value
1195 1195
      *
1196 1196
      * @author dp <[email protected]>
1197 1197
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Ice\Core\DataProvider;
13 13
 use Ice\Core\DataSource;
14
-use Ice\Core\Debuger;
15 14
 use Ice\Core\Exception;
16 15
 use Ice\Core\Logger;
17 16
 use Ice\Core\Model;
Please login to merge, or discard this patch.
Source/Ice/Helper/Api/Client/Yandex/Translate.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Ice\Helper;
4 4
 
5
-use Ice\Core\Config;
6 5
 use Ice\Core\Config as Core_Config;
7 6
 use Ice\Core\Request as Core_Request;
8 7
 use Ice\DataProvider\Repository;
Please login to merge, or discard this patch.
Source/Ice/Helper/Arrays.php 1 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\Debuger;
13 12
 use Ice\Core\Logger as Core_Logger;
14 13
 use Ice\Exception\Error;
15 14
 
Please login to merge, or discard this patch.
Source/Ice/Helper/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      * Get more then one params of config
12 12
      *
13 13
      * @param  array $config
14
-     * @param  $key
14
+     * @param  string $key
15 15
      * @param  bool $isRequired_default
16 16
      * @return array
17 17
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Source/Ice/Helper/Console.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,9 +123,9 @@
 block discarded – undo
123 123
     /**
124 124
      * Return interactive output for define variable from input
125 125
      *
126
-     * @param  $class
127
-     * @param  $param
128
-     * @param $desc
126
+     * @param  string $class
127
+     * @param  string $param
128
+     * @param string $desc
129 129
      * @param  $data
130 130
      * @return string
131 131
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -9,12 +9,7 @@
 block discarded – undo
9 9
 
10 10
 namespace Ice\Helper;
11 11
 
12
-use Ice\Core;
13
-use Ice\Core\Environment;
14
-use Ice\Core\Logger as Core_Logger;
15 12
 use Ice\Core\Logger;
16
-use Ice\Core\Request as Core_Request;
17
-use Ice\Core\Request;
18 13
 use Ice\Core\Resource as Core_Resource;
19 14
 use Ice\Core\Validator as Core_Validator;
20 15
 
Please login to merge, or discard this patch.
Source/Ice/Helper/Directory.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Recursively copy directory
33 33
      *
34
-     * @param $source
35
-     * @param $dest
34
+     * @param string $source
35
+     * @param string $dest
36 36
      *
37 37
      * @param int $chmod
38 38
      * @throws \Ice\Core\Exception
@@ -148,6 +148,9 @@  discard block
 block discarded – undo
148 148
         return $dirPath;
149 149
     }
150 150
 
151
+    /**
152
+     * @param string $path
153
+     */
151 154
     public static function getFileNames($path)
152 155
     {
153 156
         return array_diff(scandir($path), ['..', '.']);
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/File.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Save data into file
32 32
      *
33
-     * @param  $path
33
+     * @param  string|null $path
34 34
      * @param  $data
35 35
      * @param  bool $phpData
36 36
      * @param  int $file_put_contents_flag
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Rename/move file
95 95
      *
96
-     * @param $from
97
-     * @param $to
96
+     * @param null|string $from
97
+     * @param null|string $to
98 98
      *
99 99
      * @author dp <[email protected]>
100 100
      *
@@ -112,12 +112,13 @@  discard block
 block discarded – undo
112 112
      * Copy file
113 113
      *
114 114
      * @param $from
115
-     * @param $to
115
+     * @param string $to
116 116
      *
117 117
      * @author dp <[email protected]>
118 118
      *
119 119
      * @version 0.2
120 120
      * @since   0.2
121
+     * @return string
121 122
      */
122 123
     public static function copy($from, $to)
123 124
     {
Please login to merge, or discard this patch.
Source/Ice/Helper/Http.php 1 patch
Doc Comments   +3 added lines, -3 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]>
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * Return content type header by file extension
102 102
      *
103
-     * @param  $length
103
+     * @param  integer $length
104 104
      * @return string
105 105
      *
106 106
      * @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.