Completed
Branch master (1e14b3)
by Zhmayev
02:14 queued 51s
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   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      * Gets a challenge token from the server and stores for future requests
173 173
      * @access private
174 174
      * @param  string $username VTiger user name
175
-     * @return booleanReturns false in case of failure
175
+     * @return boolean false in case of failure
176 176
      */
177 177
     private function passChallenge($username)
178 178
     {
@@ -246,6 +246,7 @@  discard block
 block discarded – undo
246 246
      * @access private
247 247
      * @static
248 248
      * @param  string  Base URL of vTiger CRM
249
+     * @param string $baseUrl
249 250
      * @return boolean Returns cleaned and fixed vTiger URL
250 251
      */
251 252
     private static function fixVtigerBaseUrl($baseUrl)
Please login to merge, or discard this patch.
src/WSException.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -62,12 +62,12 @@  discard block
 block discarded – undo
62 62
     }
63 63
     
64 64
     /**
65
-    * Retrieve an external iterator
66
-    *
67
-    * @link http://php.net/manual/en/iteratoraggregate.getiterator.php
68
-    * @return \Traversable
69
-    *  An instance of an object implementing \Traversable
70
-    */
65
+     * Retrieve an external iterator
66
+     *
67
+     * @link http://php.net/manual/en/iteratoraggregate.getiterator.php
68
+     * @return \Traversable
69
+     *  An instance of an object implementing \Traversable
70
+     */
71 71
     public function getIterator()
72 72
     {
73 73
         $properties = $this->getAllProperties();
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
     }
78 78
     
79 79
     /**
80
-    * Get all the properties of the object
81
-    *
82
-    * @return array
83
-    */
80
+     * Get all the properties of the object
81
+     *
82
+     * @return array
83
+     */
84 84
     private function getAllProperties()
85 85
     {
86 86
         $allProperties = get_object_vars($this);
Please login to merge, or discard this patch.