Completed
Pull Request — master (#23)
by Shestakov
06:47
created
Source/Ice/Action/Orm/Sync/DataScheme.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -265,6 +265,9 @@  discard block
 block discarded – undo
265 265
         }
266 266
     }
267 267
 
268
+    /**
269
+     * @param string $modelClass
270
+     */
268 271
     private function createModel($modelClass, $table, $force, $dataSourceKey)
269 272
     {
270 273
         Model::getCodeGenerator($modelClass)->generate($table, $force);
@@ -289,6 +292,9 @@  discard block
 block discarded – undo
289 292
         );
290 293
     }
291 294
 
295
+    /**
296
+     * @param string $modelFilePath
297
+     */
292 298
     private function deleteModel($modelFilePath, $tableName, $schemeTables, $dataSourceKey)
293 299
     {
294 300
         if (file_exists($modelFilePath)) {
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\Core\Action;
6 6
 use Ice\Core\Data_Scheme;
7
-use Ice\Core\Debuger;
8 7
 use Ice\Core\Logger;
9 8
 use Ice\Core\Model;
10 9
 use Ice\Core\Module;
Please login to merge, or discard this patch.
Source/Ice/Action/Render.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Ice\Action;
4 4
 
5 5
 use Ice\Core\Action;
6
-use Ice\Core\Debuger;
7 6
 use Ice\Core\Widget;
8 7
 use Ice\DataProvider\Request;
9 8
 use Ice\DataProvider\Router;
Please login to merge, or discard this patch.
Source/Ice/Action/Render/Excel.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace Ice\Action;
10 10
 
11 11
 use Ice\Core\Action;
12
-use Ice\Core\Debuger;
13 12
 use Ice\Core\Widget;
14 13
 use Ice\DataProvider\Request;
15 14
 use Ice\DataProvider\Router;
Please login to merge, or discard this patch.
Source/Ice/Action/Security.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
 abstract class Security extends Widget_Form_Event
21 21
 {
22 22
     /**
23
-     * @param Security_Account|Model $account
23
+     * @param Security_Account $account
24 24
      * @param array $input
25
-     * @return Security_Account|Model
25
+     * @return Security_Account
26 26
      * @throws Exception
27 27
      */
28 28
     final protected function signIn(Security_Account $account, array $input)
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-     * @param Security_Account|Model $account
234
+     * @param Model $account
235 235
      * @param $input
236 236
      * @return null
237 237
      * @throws Exception
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Ice\Action;
4 4
 
5 5
 use Ebs\Model\Log_Security;
6
-use Ice\Core;
7 6
 use Ice\Core\Config;
8 7
 use Ice\Core\DataSource;
9 8
 use Ice\Core\Exception;
Please login to merge, or discard this patch.
Source/Ice/Action/Security/EmailPassword/RegisterConfirm/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
 
3 3
 namespace Ice\Action;
4 4
 
5
-use Ice\Core\Debuger;
6 5
 use Ice\Core\Logger;
7 6
 use Ice\Core\Widget_Security;
8 7
 use Ice\Helper\Date;
Please login to merge, or discard this patch.
Source/Ice/Action/Security/EmailPassword/RestorePasswordConfirm/Submit.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Ice\Core\Widget_Security;
9 9
 use Ice\Helper\Date;
10 10
 use Ice\Model\Token;
11
-use Ice\Core\Security as Core_Security;
12 11
 
13 12
 class Security_EmailPassword_RestorePasswordConfirm_Submit extends Security
14 13
 {
Please login to merge, or discard this patch.
Source/Ice/Action/Security/LoginEmailPassword/Login/Submit.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Ice\Action;
3 3
 
4
-use Ice\Core\Debuger;
5
-use Ice\Widget\Security_EmailPassword_Login;
6 4
 use Ice\Widget\Security_LoginEmailPassword_Login;
7
-use Ice\Widget\Security_LoginPassword_Login;
8 5
 
9 6
 class Security_LoginEmailPassword_Login_Submit extends Security
10 7
 {
Please login to merge, or discard this patch.
Source/Ice/Action/Security/LoginEmailPassword/RestorePassword/Submit.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Ice\Action;
4 4
 
5
-use Ice\Core\Model;
6
-use Ice\Widget\Security_EmailPassword_RestorePassword;
7 5
 use Ice\Widget\Security_LoginEmailPassword_RestorePassword;
8
-use Ice\Widget\Security_LoginPassword_RestorePassword;
9 6
 
10 7
 class Security_LoginEmailPassword_RestorePassword_Submit extends Security
11 8
 {
Please login to merge, or discard this patch.
Ice/Action/Security/LoginEmailPassword/RestorePasswordConfirm/Submit.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Ice\Action;
4 4
 
5
-use Ice\Widget\Security_EmailPassword_RestorePasswordConfirm;
6 5
 use Ice\Widget\Security_LoginEmailPassword_RestorePasswordConfirm;
7
-use Ice\Widget\Security_LoginPassword_RestorePasswordConfirm;
8 6
 
9 7
 class Security_LoginEmailPassword_RestorePasswordConfirm_Submit extends Security
10 8
 {
Please login to merge, or discard this patch.