Completed
Branch master (b67f97)
by Pierre-Henry
35:51
created
app/system/modules/admin123/forms/processing/AddFakeProfilesFormProcess.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,10 @@
 block discarded – undo
12 12
 
13 13
 defined('PH7') or exit('Restricted access');
14 14
 
15
-use
16
-PH7\Framework\Url\Url,
17
-PH7\Framework\Geo\Misc\Country,
18
-PH7\Framework\Security\Validate\Validate,
19
-PH7\Framework\Ip\Ip;
15
+use PH7\Framework\Url\Url;
16
+use PH7\Framework\Geo\Misc\Country;
17
+use PH7\Framework\Security\Validate\Validate;
18
+use PH7\Framework\Ip\Ip;
20 19
 
21 20
 /** Reset the time limit and increase the memory **/
22 21
 @set_time_limit(0);
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/forms/processing/AdsFormProcess.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,11 +9,10 @@
 block discarded – undo
9 9
 
10 10
 defined('PH7') or exit('Restricted access');
11 11
 
12
-use
13
-PH7\Framework\Cache\Cache,
14
-PH7\Framework\Mvc\Request\Http,
15
-PH7\Framework\Mvc\Router\Uri,
16
-PH7\Framework\Url\Header;
12
+use PH7\Framework\Cache\Cache;
13
+use PH7\Framework\Mvc\Request\Http;
14
+use PH7\Framework\Mvc\Router\Uri;
15
+use PH7\Framework\Url\Header;
17 16
 
18 17
 class AdsFormProcess extends Form
19 18
 {
Please login to merge, or discard this patch.
app/system/modules/admin123/forms/processing/DisableModuleFormProcess.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,9 +9,8 @@
 block discarded – undo
9 9
 
10 10
 defined('PH7') or exit('Restricted access');
11 11
 
12
-use
13
-PH7\Framework\Cache\Cache,
14
-PH7\Framework\Mvc\Model\Module as ModuleModel;
12
+use PH7\Framework\Cache\Cache;
13
+use PH7\Framework\Mvc\Model\Module as ModuleModel;
15 14
 
16 15
 class DisableModuleFormProcess extends Form
17 16
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/validate-site/controllers/MainController.php 1 patch
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,11 +7,9 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Layout\Html\Design,
12
-PH7\Framework\Mvc\Model\DbConfig,
13
-PH7\Framework\Cache\Cache,
14
-PH7\Framework\Url\Header;
10
+use PH7\Framework\Layout\Html\Design;
11
+use PH7\Framework\Mvc\Model\DbConfig;
12
+use PH7\Framework\Url\Header;
15 13
 
16 14
 class MainController extends Controller
17 15
 {
Please login to merge, or discard this patch.
_protected/framework/Translate/Lang.class.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
       * Set the default language name.
49 49
       *
50 50
       * @param string $sNewDefLang Prefix of the language.
51
-      * @return object $this
51
+      * @return Lang $this
52 52
       */
53 53
      public function setDefaultLang($sNewDefLang)
54 54
      {
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
      /**
61 61
       * Set the user language name.
62 62
       *
63
-      * @param string $sNewDefaultLang Prefix of the language.
64
-      * @return object $this
63
+      * @return Lang $this
65 64
       */
66 65
      public function setUserLang($sNewUserLang)
67 66
      {
@@ -120,7 +119,7 @@  discard block
 block discarded – undo
120 119
       *
121 120
       * @param string $sFileName The language filename (e.g., "global").
122 121
       * @param string $sPath If you want to change the default path (the path to the current module), you can specify the path. Default NULL
123
-      * @return object $this
122
+      * @return Lang $this
124 123
       */
125 124
      public function load($sFileName, $sPath = null)
126 125
      {
@@ -134,7 +133,7 @@  discard block
 block discarded – undo
134 133
      /**
135 134
       * Loading language files.
136 135
       *
137
-      * @return object $this
136
+      * @return Lang $this
138 137
       * @throws \PH7\Framework\Translate\Exception If the language file is not found.
139 138
       */
140 139
      public function init()
@@ -202,7 +201,6 @@  discard block
 block discarded – undo
202 201
  /**
203 202
   * Language helper function.
204 203
   *
205
-  * @param string $sVar [, string $... ]
206 204
   * @return string Returns the text with gettext function or language in an array (this depends on whether a key language was found in the language table).
207 205
   */
208 206
  function t(...$aTokens)
Please login to merge, or discard this patch.