Completed
Pull Request — master (#23)
by Shestakov
06:47
created
Source/Ice/Core/Route.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
     /**
240 240
      * Return route string
241 241
      *
242
-     * @return mixed
242
+     * @return string
243 243
      *
244 244
      * @author dp <[email protected]>
245 245
      *
Please login to merge, or discard this patch.
Source/Ice/Core/Widget.php 1 patch
Doc Comments   +15 added lines, -12 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
     private $layout = null;
86 86
 
87 87
     /**
88
-     * @param $name
89
-     * @param null $default
88
+     * @param string $name
89
+     * @param integer $default
90 90
      * @return mixed
91 91
      */
92 92
     public function getOption($name = null, $default = null)
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param $name
103
-     * @param $value
102
+     * @param string $name
103
+     * @param integer $value
104 104
      */
105 105
     public function setOption($name, $value)
106 106
     {
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
 
257 257
     /**
258 258
      * @param string $templateClass
259
-     * @return null|string
259
+     * @return Widget
260 260
      */
261 261
     public function setTemplateClass($templateClass = null)
262 262
     {
@@ -297,8 +297,8 @@  discard block
 block discarded – undo
297 297
     }
298 298
 
299 299
     /**
300
-     * @param $renderClass
301
-     * @return Render
300
+     * @param string $renderClass
301
+     * @return Widget
302 302
      */
303 303
     public function setRenderClass($renderClass = null)
304 304
     {
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
     }
592 592
 
593 593
     /**
594
-     * @return string
594
+     * @return integer
595 595
      */
596 596
     public function getToken()
597 597
     {
@@ -756,6 +756,9 @@  discard block
 block discarded – undo
756 756
         return $this->filterParts;
757 757
     }
758 758
 
759
+    /**
760
+     * @param string|null $partName
761
+     */
759 762
     public function getPart($partName)
760 763
     {
761 764
         return isset($this->parts[$partName]) ? $this->parts[$partName] : null;
@@ -814,7 +817,7 @@  discard block
 block discarded – undo
814 817
     /**
815 818
      * Build div part
816 819
      *
817
-     * @param  $columnName
820
+     * @param  string $columnName
818 821
      * @param  array $options
819 822
      * @param  string $template
820 823
      * @return $this
@@ -827,7 +830,7 @@  discard block
 block discarded – undo
827 830
     /**
828 831
      * Build p part
829 832
      *
830
-     * @param  $columnName
833
+     * @param  string $columnName
831 834
      * @param  array $options
832 835
      * @param  string $template
833 836
      * @return $this
@@ -1097,7 +1100,7 @@  discard block
 block discarded – undo
1097 1100
 
1098 1101
     /**
1099 1102
      * @param $token
1100
-     * @return bool
1103
+     * @return boolean|null
1101 1104
      *
1102 1105
      * @todo: need implement
1103 1106
      */
@@ -1134,7 +1137,7 @@  discard block
 block discarded – undo
1134 1137
     }
1135 1138
 
1136 1139
     /**
1137
-     * @param $param string|null
1140
+     * @param string $param string|null
1138 1141
      * @param array $options
1139 1142
      * @return mixed
1140 1143
      */
Please login to merge, or discard this patch.
Source/Ice/Core/WidgetComponent.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @return null|string
112
+     * @return string
113 113
      */
114 114
     public function getWidgetId()
115 115
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @return null|string
120
+     * @return string
121 121
      */
122 122
     public function getPartId()
123 123
     {
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
 
383 383
     /**
384 384
      * @param string $classes
385
-     * @return null
385
+     * @return string
386 386
      */
387 387
     public function getClassAttribute($classes = '')
388 388
     {
Please login to merge, or discard this patch.
Source/Ice/DataProvider/Cacher.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * Set data to data provider
89 89
      *
90 90
      * @param  string $key
91
-     * @param  $value
91
+     * @param  \Ice\Core\QueryResult $value
92 92
      * @param  null $ttl
93 93
      * @return mixed setted value
94 94
      *
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      * Connect to data provider
207 207
      *
208 208
      * @param  $connection
209
-     * @return boolean
209
+     * @return DataProvider
210 210
      *
211 211
      * @author dp <[email protected]>
212 212
      *
Please login to merge, or discard this patch.
Source/Ice/DataProvider/Repository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
      * Connect to data provider
179 179
      *
180 180
      * @param  $connection
181
-     * @return boolean
181
+     * @return DataProvider
182 182
      *
183 183
      * @author dp <[email protected]>
184 184
      *
Please login to merge, or discard this patch.
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 1 patch
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.
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 1 patch
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.