Completed
Pull Request — development (#107)
by
unknown
09:56
created
application/libraries/mem_cache.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
49 49
         }
50 50
     }
51 51
 
52
+    /**
53
+     * @param string $key
54
+     */
52 55
     public function _fetch($key) {
53 56
 
54 57
         $key = $this->generatekey($key);
@@ -147,7 +150,7 @@  discard block
 block discarded – undo
147 150
      *
148 151
      * @param string $key - cache item key
149 152
      *
150
-     * @return bool
153
+     * @return boolean|null
151 154
      */
152 155
     public function delete($key) {
153 156
 
@@ -157,7 +160,7 @@  discard block
 block discarded – undo
157 160
     /**
158 161
      * Delete Cached Function
159 162
      *
160
-     * @return bool
163
+     * @return boolean|null
161 164
      */
162 165
     public function delete_func($object, $func, $args = []) {
163 166
 
@@ -168,7 +171,7 @@  discard block
 block discarded – undo
168 171
     /**
169 172
      * Delete All Cache Items
170 173
      *
171
-     * @return bool
174
+     * @return boolean|null
172 175
      * @access public
173 176
      */
174 177
     public function delete_all() {
Please login to merge, or discard this patch.
application/libraries/Update.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     /**
156 156
      * zipping files
157 157
      * @param array $files
158
-     * @return bool
158
+     * @return boolean|null
159 159
      * @throws Exception
160 160
      */
161 161
     public function add_to_ZIP($files = []) {
Please login to merge, or discard this patch.
application/modules/admin/components.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
 
235 235
     /**
236 236
      * @param string $moduleName
237
-     * @return bool
237
+     * @return boolean|null
238 238
      */
239 239
     public function deinstall($moduleName) {
240 240
         $modules = $this->input->post('ids') ?: [$moduleName];
Please login to merge, or discard this patch.
application/modules/cmsemail/classes/ParentEmail.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@
 block discarded – undo
483 483
 
484 484
     /**
485 485
      * @param array $settings
486
-     * @return bool
486
+     * @return boolean|null
487 487
      */
488 488
     public function setSettings($settings) {
489 489
         return $this->cmsemail_model->setSettings($settings);
Please login to merge, or discard this patch.
application/modules/core/models/Base/Route.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
      *
309 309
      * @param  string  $msg
310 310
      * @param  int     $priority One of the Propel::LOG_* logging levels
311
-     * @return boolean
311
+     * @return boolean|null
312 312
      */
313 313
     protected function log($msg, $priority = Propel::LOG_INFO)
314 314
     {
@@ -1101,7 +1101,7 @@  discard block
 block discarded – undo
1101 1101
      * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
1102 1102
      * The default key type is the column's TableMap::TYPE_PHPNAME.
1103 1103
      *
1104
-     * @param mixed $parser A AbstractParser instance,
1104
+     * @param string $parser A AbstractParser instance,
1105 1105
      *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
1106 1106
      * @param string $data The source data to import from
1107 1107
      * @param string $keyType The type of keys the array uses.
Please login to merge, or discard this patch.
application/modules/core/models/Map/RouteTableMap.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
      * @param string $indexType One of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME
269 269
      *                           TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM
270 270
      *
271
-     * @return mixed The primary key of the row
271
+     * @return integer The primary key of the row
272 272
      */
273 273
     public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM)
274 274
     {
Please login to merge, or discard this patch.
application/modules/core/src/CoreModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
     /**
219 219
      * Check user access for page
220 220
      * @param array $roles
221
-     * @return bool
221
+     * @return boolean|null
222 222
      */
223 223
     public function checkPageAccess($roles) {
224 224
 
Please login to merge, or discard this patch.
application/modules/import_export/classes/BaseImport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -551,7 +551,7 @@
 block discarded – undo
551 551
      * @param int $property_id
552 552
      * @param int $product_id
553 553
      * @param int $value_id
554
-     * @return bool
554
+     * @return false|null
555 555
      */
556 556
     private function checkPropertiesData($property_id, $product_id, $value_id) {
557 557
 
Please login to merge, or discard this patch.
application/modules/mailer/mailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
     /**
204 204
      *  Create modules table in db
205 205
      *
206
-     * @return bool
206
+     * @return boolean|null
207 207
      */
208 208
     public function _install() {
209 209
 
Please login to merge, or discard this patch.