Completed
Pull Request — master (#23)
by Shestakov
15:36
created
Source/Ice/Widget/Form.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     /**
142 142
      * Add text type field
143 143
      *
144
-     * @param  $fieldName
144
+     * @param  string $fieldName
145 145
      * @param  array $options
146 146
      * @param  string $template
147 147
      * @return Form
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * Add password type field
184 184
      *
185
-     * @param  $fieldName
185
+     * @param  string $fieldName
186 186
      * @param  array $options
187 187
      * @param  string $template
188 188
      * @return Form
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
     }
411 411
 
412 412
     /**
413
-     * @param $fieldName
413
+     * @param string $fieldName
414 414
      * @param array $options
415 415
      * @param string $template
416 416
      * @return Form
Please login to merge, or discard this patch.
Source/Ice/Action/Resource/Dynamic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     /**
57 57
      * Runtime append resource
58 58
      *
59
-     * @param $resourceType
59
+     * @param string $resourceType
60 60
      * @param $resource
61 61
      *
62 62
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Source/Ice/Action/Security.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     /**
160 160
      * @param Model_Account $account
161 161
      * @param $input
162
-     * @return null
162
+     * @return Model_Account
163 163
      * @throws Exception
164 164
      */
165 165
     final protected function restorePassword($account, $input)
@@ -214,6 +214,9 @@  discard block
 block discarded – undo
214 214
             ->exception(['Implement {$0} for {$1}', [__FUNCTION__, get_class($this)]], __FILE__, __LINE__);
215 215
     }
216 216
 
217
+    /**
218
+     * @param Model_Account $account
219
+     */
217 220
     final protected function changePassword($account, $accountData, $input)
218 221
     {
219 222
         $logger = $this->getLogger();
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Ice\Action;
4 4
 
5 5
 use Ice\Core\Config;
6
-use Ice\Core\DataSource;
7
-use Ice\Core\Debuger;
8 6
 use Ice\Core\Exception;
9 7
 use Ice\Core\Logger as Core_Logger;
10 8
 use Ice\Core\Model;
Please login to merge, or discard this patch.
Source/Ice/Action/Security/Password/Email/ChangePassword/Submit.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Ice\Action;
4 4
 
5 5
 use Ice\Core\Logger;
6
-use Ice\Core\Model;
7 6
 use Ice\Core\Model_Account;
8 7
 use Ice\Core\Security as Core_Security;
9 8
 use Ice\Model\Account;
10
-use Ice\Widget\Account_Password_Email_ChangePassword;
11 9
 
12 10
 class Security_Password_Email_ChangePassword_Submit extends Security
13 11
 {
Please login to merge, or discard this patch.
Source/Ice/Action/Security/Password/Email/RestorePasswordConfirm/Submit.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Ice\Widget;
3 3
 
4 4
 use Ice\Action\Security_LoginEmailPassword_ChangePassword_Submit;
5
-use Ice\Core\Model;
6 5
 use Ice\Core\Widget_Security;
7 6
 use Ice\DataProvider\Request;
8 7
 
Please login to merge, or discard this patch.
Source/Ice/Action/Security/Password/Login/ChangePassword/Submit.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Ice\Core\Model_Account;
7 7
 use Ice\Core\Security as Core_Security;
8 8
 use Ice\Model\Account;
9
-use Ice\Widget\Account_Password_Login_ChangePassword;
10 9
 
11 10
 class Security_Password_Login_ChangePassword_Submit extends Security
12 11
 {
Please login to merge, or discard this patch.
Source/Ice/Action/Security/Password/Login/Register/Submit.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/Action/Security/Password/Login/RestorePasswordConfirm/Submit.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Ice\Widget;
3 3
 
4 4
 use Ice\Action\Security_LoginEmailPassword_ChangePassword_Submit;
5
-use Ice\Core\Model;
6 5
 use Ice\Core\Widget_Security;
7 6
 use Ice\DataProvider\Request;
8 7
 
Please login to merge, or discard this patch.
Source/Ice/Core/Config.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Ice\DataProvider\Repository;
14 14
 use Ice\Exception\Config_Error;
15 15
 use Ice\Exception\Config_Param_NotFound;
16
-use Ice\Exception\Error;
17 16
 use Ice\Exception\FileNotFound;
18 17
 use Ice\Helper\Config as Helper_Config;
19 18
 use Ice\Helper\File;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     /**
67 67
      * Return default config for class
68 68
      *
69
-     * @param  $key
69
+     * @param  string $key
70 70
      * @return Config
71 71
      *
72 72
      * @author dp <[email protected]>
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param $key
83
+     * @param string $key
84 84
      * @return Config
85 85
      */
86 86
     public function getConfig($key)
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      * Get config object by type or key
160 160
      *
161 161
      * @param  mixed $class
162
-     * @param  null $postfix
162
+     * @param  null|string $postfix
163 163
      * @param  bool $isRequired
164 164
      * @param  integer $ttl
165 165
      * @param array $selfConfig
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
     /**
334 334
      * Save config
335 335
      *
336
-     * @param null $path
336
+     * @param string $path
337 337
      * @return Config
338 338
      * @author dp <[email protected]>
339 339
      *
Please login to merge, or discard this patch.