Completed
Push — master ( 7b61d0...d90799 )
by Zhmayev
01:25
created
src/Entities.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -244,6 +244,7 @@  discard block
 block discarded – undo
244 244
      * @access public
245 245
      * @static
246 246
      * @param  array    $params  Array holding entity data/search constraints
247
+     * @param string $paramsPurpose
247 248
      * @return boolean  Returns true if params holds valid entity data/search constraints, otherwise returns false
248 249
      */
249 250
     private static function checkParams(array $params, $paramsPurpose)
@@ -263,8 +264,8 @@  discard block
 block discarded – undo
263 264
      * @static
264 265
      * @param  string   $moduleName  The name of the module / entity type
265 266
      * @param  array    $params  Data used to find matching entries
266
-     * @return array    $select  The list of fields to select (defaults to SQL-like '*' - all the fields)
267
-     * @return int      $limit  limit the list of entries to N records (acts like LIMIT in SQL)
267
+     * @return string    $select  The list of fields to select (defaults to SQL-like '*' - all the fields)
268
+     * @return string      $limit  limit the list of entries to N records (acts like LIMIT in SQL)
268 269
      * @return string   The query build out of the supplied parameters
269 270
      */
270 271
     public static function getQueryString($moduleName, array $params, array $select = [], $limit = 0)
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -240,12 +240,12 @@
 block discarded – undo
240 240
     }
241 241
 
242 242
         /**
243
-     * Checks if if params holds valid entity data/search constraints, otherwise returns false
244
-     * @access public
245
-     * @static
246
-     * @param  array    $params  Array holding entity data/search constraints
247
-     * @return boolean  Returns true if params holds valid entity data/search constraints, otherwise returns false
248
-     */
243
+         * Checks if if params holds valid entity data/search constraints, otherwise returns false
244
+         * @access public
245
+         * @static
246
+         * @param  array    $params  Array holding entity data/search constraints
247
+         * @return boolean  Returns true if params holds valid entity data/search constraints, otherwise returns false
248
+         */
249 249
     private static function checkParams(array $params, $paramsPurpose)
250 250
     {
251 251
         if (empty($params) || !is_array($params) || !is_assoc_array($params)) {
Please login to merge, or discard this patch.
src/Session.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -268,6 +268,7 @@
 block discarded – undo
268 268
      * @access private
269 269
      * @static
270 270
      * @param  string  Base URL of vTiger CRM
271
+     * @param string $baseUrl
271 272
      * @return boolean Returns cleaned and fixed vTiger URL
272 273
      */
273 274
     private static function fixVtigerBaseUrl($baseUrl)
Please login to merge, or discard this patch.
src/WSException.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
     }
70 70
     
71 71
     /**
72
-    * Retrieve an external iterator
73
-    * @access public
74
-    * @link http://php.net/manual/en/iteratoraggregate.getiterator.php
75
-    * @return \Traversable An instance of an object implementing \Traversable
76
-    */
72
+     * Retrieve an external iterator
73
+     * @access public
74
+     * @link http://php.net/manual/en/iteratoraggregate.getiterator.php
75
+     * @return \Traversable An instance of an object implementing \Traversable
76
+     */
77 77
     public function getIterator()
78 78
     {
79 79
         $properties = $this->getAllProperties();
@@ -83,10 +83,10 @@  discard block
 block discarded – undo
83 83
     }
84 84
     
85 85
     /**
86
-    * Gets all the properties of the object
87
-    * @access public
88
-    * @return array Array of properties
89
-    */
86
+     * Gets all the properties of the object
87
+     * @access public
88
+     * @return array Array of properties
89
+     */
90 90
     private function getAllProperties()
91 91
     {
92 92
         $allProperties = get_object_vars($this);
Please login to merge, or discard this patch.