Completed
Pull Request — development (#107)
by
unknown
09:56
created
application/modules/payment_method_yakassa/payment_method_yakassa.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -174,6 +174,9 @@  discard block
 block discarded – undo
174 174
         return ($callbackParams['md5'] == $md5);
175 175
     }
176 176
 
177
+    /**
178
+     * @param integer $code
179
+     */
177 180
     public function sendAviso($callbackParams, $code) {
178 181
         header('Content-type: text/xml; charset=utf-8');
179 182
         $xml = '<?xml version="1.0" encoding="UTF-8"?>
@@ -181,6 +184,9 @@  discard block
 block discarded – undo
181 184
         echo $xml;
182 185
     }
183 186
 
187
+    /**
188
+     * @param integer|null $code
189
+     */
184 190
     public function sendCode($callbackParams, $code) {
185 191
         header('Content-type: text/xml; charset=utf-8');
186 192
         $xml = '<?xml version="1.0" encoding="UTF-8"?>
Please login to merge, or discard this patch.
application/modules/translator/classes/PoFileSearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * Get errors
73
-     * @return array
73
+     * @return string
74 74
      */
75 75
     public function getErrors() {
76 76
         return $this->errors;
Please login to merge, or discard this patch.
application/modules/translator/classes/YandexTranslate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
     /**
63 63
      * @param string $url
64
-     * @return mixed
64
+     * @return string
65 65
      */
66 66
     private function open_https_url($url, $refer = '') {
67 67
         $ch = curl_init();
Please login to merge, or discard this patch.
application/modules/xbanners/models/Base/BannerImage.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/xbanners/models/Base/Banners.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/xbanners/models/Base/BannersI18n.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Propel\Runtime\ActiveQuery\Criteria;
9 9
 use Propel\Runtime\ActiveQuery\ModelCriteria;
10 10
 use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
11
-use Propel\Runtime\Collection\Collection;
12 11
 use Propel\Runtime\Connection\ConnectionInterface;
13 12
 use Propel\Runtime\Exception\BadMethodCallException;
14 13
 use Propel\Runtime\Exception\LogicException;
Please login to merge, or discard this patch.
application/modules/xbanners/models/Map/BannersTableMap.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/xbanners/src/UrlFinder/Results/ResultInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -5,11 +5,15 @@
 block discarded – undo
5 5
 interface ResultInterface
6 6
 {
7 7
 
8
+    /**
9
+     * @return void
10
+     */
8 11
     public function __construct($groupName);
9 12
 
10 13
     /**
11 14
      * @param string $name
12 15
      * @param string $url
16
+     * @return void
13 17
      */
14 18
     public function addResult($name, $url);
15 19
 
Please login to merge, or discard this patch.
application/modules/xbanners/xbanners.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     /**
103 103
      * @uses xbanners_helper.php getBanner()
104 104
      * @param string $place
105
-     * @return BannersQuery
105
+     * @return xbanners\models\Banners
106 106
      */
107 107
     public function getBanner($place) {
108 108
 
Please login to merge, or discard this patch.