Completed
Pull Request — master (#421)
by Harald
03:14
created
catalog/includes/OSC/OM/Language.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
         }
122 122
     }
123 123
 
124
+    /**
125
+     * @param string $data
126
+     */
124 127
     public function get($data = null, $language_code = null)
125 128
     {
126 129
         if (!isset($data)) {
@@ -246,6 +249,9 @@  discard block
 block discarded – undo
246 249
         $this->injectDefinitions($defs, $scope);
247 250
     }
248 251
 
252
+    /**
253
+     * @param string $pathname
254
+     */
249 255
     public function getDefinitions($group, $language_code, $pathname)
250 256
     {
251 257
         $defs = [];
@@ -331,6 +337,9 @@  discard block
 block discarded – undo
331 337
         }
332 338
     }
333 339
 
340
+    /**
341
+     * @param boolean $flag
342
+     */
334 343
     public function setUseCache($flag)
335 344
     {
336 345
         $this->use_cache = ($flag === true);
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/PagesAbstract.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 OSC\Sites\Shop\Pages\Account\Actions;
10 10
 
11 11
 use OSC\OM\OSCOM;
12
-use OSC\OM\Registry;
13 12
 
14 13
 class LogIn extends \OSC\OM\PagesActionsAbstract
15 14
 {
Please login to merge, or discard this patch.