Completed
Pull Request — development (#89)
by Nick
19:34 queued 07:38
created
application/modules/socauth/models/socauth_model.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * Create cosial link to user profile
24
-     * @param type $soc
25
-     * @param type $socId
24
+     * @param string $soc
25
+     * @param string $socId
26 26
      */
27 27
     public function setLink($soc, $socId) {
28 28
         $this->db->set('socialId', $socId);
Please login to merge, or discard this patch.
application/modules/template_manager/classes/TArchive.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Unpacking the archive to ./templates/ folder
67 67
      * @param string $unpackPath (optional) path to templates folder (default ./templates)
68
-     * @return string template name
68
+     * @return boolean template name
69 69
      * @throws \Exception
70 70
      */
71 71
     public function unpack($unpackPath = TEMPLATES_PATH) {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
     /**
102 102
      *
103
-     * @return null|string null if error in structure of archive or template name
103
+     * @return string null if error in structure of archive or template name
104 104
      */
105 105
     public function getTemplateName() {
106 106
         return $this->templateName;
Please login to merge, or discard this patch.
application/modules/template_manager/classes/Template.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace template_manager\classes;
4 4
 
5
-use Symfony\Component\Config\FileLocator;
6
-
7 5
 /**
8 6
  * Representing one template
9 7
  * Incapsulate info and methods for working with template
Please login to merge, or discard this patch.
application/modules/translator/classes/PoFileSearch.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -162,6 +162,7 @@
 block discarded – undo
162 162
 
163 163
     /**
164 164
      * @param string $entity_name
165
+     * @param string $entity_type
165 166
      */
166 167
     private function searchLang($origin, $data, $entity_type, $entity_name, $language) {
167 168
         switch ($this->searchType) {
Please login to merge, or discard this patch.
application/modules/translator/lib/php-mo.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
 /* Parse gettext .po files. */
71 71
 /* @link http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files */
72 72
 
73
+/**
74
+ * @param string $in
75
+ */
73 76
 function phpmo_parse_po_file($in) {
74 77
     // read .po file
75 78
     $fc = file_get_contents($in);
@@ -170,6 +173,9 @@  discard block
 block discarded – undo
170 173
 /* Write a GNU gettext style machine object. */
171 174
 /* @link http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files */
172 175
 
176
+/**
177
+ * @param string|boolean $out
178
+ */
173 179
 function phpmo_write_mo_file($hash, $out) {
174 180
     // sort by msgid
175 181
     ksort($hash, SORT_STRING);
Please login to merge, or discard this patch.
application/modules/wishlist/classes/ParentWishlist.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -453,8 +453,8 @@
 block discarded – undo
453 453
     /**
454 454
      * delete item from wish list
455 455
      *
456
-     * @param $variant_id
457
-     * @param $wish_list_id
456
+     * @param integer $variant_id
457
+     * @param integer $wish_list_id
458 458
      * @access public
459 459
      * @author DevImageCms
460 460
      * @copyright (c) 2013, ImageCMS
Please login to merge, or discard this patch.
application/modules/xbanners/src/Installers/BannersModuleManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
     /**
151 151
      * Run self::getQueries() with DROP_PATTERN
152 152
      *
153
-     * @return array
153
+     * @return string[]
154 154
      */
155 155
     protected function getDropQueries() {
156 156
 
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
@@ -4,11 +4,15 @@
 block discarded – undo
4 4
 
5 5
 interface ResultInterface {
6 6
 
7
+    /**
8
+     * @return void
9
+     */
7 10
     public function __construct($groupName);
8 11
 
9 12
     /**
10 13
      * @param string $name
11 14
      * @param string $url
15
+     * @return void
12 16
      */
13 17
     public function addResult($name , $url);
14 18
 
Please login to merge, or discard this patch.
application/modules/ymarket/models/ymarket_model.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * Selects the category assigned by the user
24
+     * @param integer $type
24 25
      * @return object Information about the selected category
25 26
      */
26 27
     public function init($type) {
Please login to merge, or discard this patch.