Completed
Pull Request — master (#23)
by Shestakov
06:47
created
Source/Ice/Core/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Return all params from request
51 51
      *
52
-     * @param  array $filterParams
52
+     * @param  string[] $filterParams
53 53
      * @return mixed
54 54
      * @author dp <[email protected]>
55 55
      *
Please login to merge, or discard this patch.
Source/Ice/Core/Resource.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@  discard block
 block discarded – undo
165 165
         return $resources;
166 166
     }
167 167
 
168
+    /**
169
+     * @param string $message
170
+     */
168 171
     public function set($message)
169 172
     {
170 173
         if (empty($message)) {
@@ -265,7 +268,7 @@  discard block
 block discarded – undo
265 268
     }
266 269
 
267 270
     /**
268
-     * @return string
271
+     * @return 
269 272
      */
270 273
     public function getResourceClass()
271 274
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -8,16 +8,13 @@
 block discarded – undo
8 8
  */
9 9
 namespace Ice\Core;
10 10
 
11
-use FOS\UserBundle\Command\DeactivateUserCommand;
12 11
 use Ice\Core;
13
-use Ice\DataProvider\Cacher;
14 12
 use Ice\DataProvider\Repository;
15 13
 use Ice\Exception\FileNotFound;
16 14
 use Ice\Helper\Api_Client_Yandex_Translate;
17 15
 use Ice\Helper\File;
18 16
 use Ice\Helper\Json;
19 17
 use Ice\Helper\String;
20
-use Ice\Render\Php;
21 18
 use Ice\Render\Replace;
22 19
 
23 20
 /**
Please login to merge, or discard this patch.
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/Validator.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Ice\Core;
13 13
 use Ice\Helper\Validator as Helper_Validator;
14
-use Ice\Widget\Form;
15
-use Ice\Widget\Model_Form;
16 14
 
17 15
 /**
18 16
  * Class Validator
Please login to merge, or discard this patch.
Source/Ice/Core/Widget.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Ice\Core;
3 3
 
4
-use Ebs\Widget\Order_Basket_Form;
5 4
 use Ice\Exception\Access_Denied;
6 5
 use Ice\Exception\Http;
7 6
 use Ice\Exception\RouteNotFound;
Please login to merge, or discard this patch.
Source/Ice/Core/WidgetComponent.php 2 patches
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.
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\Core;
4 4
 
5
-use Ebs\Widget\Order_Basket_Form;
6 5
 use Ice\Helper\Access;
7 6
 use Ice\Helper\Date;
8 7
 use Ice\Helper\Input;
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/Mysqli.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,12 +10,9 @@
 block discarded – undo
10 10
 namespace Ice\DataProvider;
11 11
 
12 12
 use Ice\Core\DataProvider;
13
-use Ice\Core\Debuger;
14 13
 use Ice\Core\Exception;
15 14
 use Ice\Core\Logger;
16
-use Ice\Core\Profiler;
17 15
 use Ice\Exception\Error;
18
-use Ice\Helper\String;
19 16
 
20 17
 /**
21 18
  * Class Mysqli
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.