Completed
Push — 16.1 ( 2b6741...abc73d )
by Nathan
50:22 queued 36:36
created
setup/check_install.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -316,6 +316,7 @@
 block discarded – undo
316 316
  * Check if given package is installed via composer in EGroupware's vendor directory
317 317
  *
318 318
  * @param string $package package-name in composer notation eg. "pear-pear.horde.org/Horde_Imap_Client" or "pear-pear.php.net/Net_Sieve"
319
+ * @return string|null
319 320
  */
320 321
 function composer_check($package)
321 322
 {
Please login to merge, or discard this patch.
setup/inc/class.setup.inc.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -741,8 +741,8 @@  discard block
 block discarded – undo
741 741
 	/**
742 742
 	 * egw version checking, is param 1 < param 2 in phpgw versionspeak?
743 743
 	 * @param	$a	phpgw version number to check if less than $b
744
-	 * @param	$b	phpgw version number to check $a against
745
-	 * @return	True if $a < $b
744
+	 * @param	string $b	phpgw version number to check $a against
745
+	 * @return	boolean if $a < $b
746 746
 	 */
747 747
 	function alessthanb($a,$b,$DEBUG=False)
748 748
 	{
@@ -829,7 +829,7 @@  discard block
 block discarded – undo
829 829
 	 *
830 830
 	 * @param	$a	phpgw version number to check if more than $b
831 831
 	 * @param	$b	phpgw version number to check $a against
832
-	 * @return	True if $a < $b
832
+	 * @return	boolean if $a < $b
833 833
 	 */
834 834
 	function amorethanb($a,$b,$DEBUG=False)
835 835
 	{
@@ -1101,7 +1101,7 @@  discard block
 block discarded – undo
1101 1101
 	 *
1102 1102
 	 * Dont use it to set group-membership, use set_memberships instead!
1103 1103
 	 *
1104
-	 * @param string|array $apps app-names
1104
+	 * @param string $apps app-names
1105 1105
 	 * @param string $location eg. "run"
1106 1106
 	 * @param int|string $account accountid or account_lid
1107 1107
 	 * @param int $rights rights to set, default 1
@@ -1147,7 +1147,7 @@  discard block
 block discarded – undo
1147 1147
 	/**
1148 1148
 	 * checks if one of the given tables exist, returns the first match
1149 1149
 	 *
1150
-	 * @param array $tables array with possible table-names
1150
+	 * @param string[] $tables array with possible table-names
1151 1151
 	 * @return string/boolean tablename or false
1152 1152
 	 */
1153 1153
 	function table_exist($tables,$force_refresh=False)
Please login to merge, or discard this patch.
setup/inc/class.setup_cmd_header.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	/**
36 36
 	 * Constructor
37 37
 	 *
38
-	 * @param string|array $sub_command ='create' 'create','edit','delete'(-domain) or array with all arguments
38
+	 * @param string $sub_command ='create' 'create','edit','delete'(-domain) or array with all arguments
39 39
 	 * @param array $arguments =null comand line arguments
40 40
 	 */
41 41
 	function __construct($sub_command='create',$arguments=null)
Please login to merge, or discard this patch.
setup/inc/class.setup_cmd_hooks.inc.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,8 @@
 block discarded – undo
19 19
 	 * Constructor
20 20
 	 *
21 21
 	 * @param string $domain string with domain-name or array with all arguments
22
-	 * @param string $config_user=null user to config the domain (or header_admin_user)
23
-	 * @param string $config_passwd=null pw of above user
24
-	 * @param boolean $verbose=false if true, echos out some status information during the run
22
+	 * @param string $config_user user to config the domain (or header_admin_user)
23
+	 * @param string $config_passwd pw of above user
25 24
 	 */
26 25
 	function __construct($domain,$config_user=null,$config_passwd=null)
27 26
 	{
Please login to merge, or discard this patch.
setup/inc/class.setup_cmd_ldap.inc.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -936,9 +936,6 @@
 block discarded – undo
936 936
 	 *
937 937
 	 * Uses $this->ldap_host, $this->ldap_admin and $this->ldap_admin_pw to connect.
938 938
 	 *
939
-	 * @param string $this->object_class ='qmailUser'
940
-	 * @param string $this->mbox_attr ='mailmessagestore' lowercase!!!
941
-	 * @param string $this->mail_login_type ='email' 'email', 'vmailmgr', 'standard' or 'uidNumber'
942 939
 	 * @return string with success message N entries modified
943 940
 	 * @throws Api\Exception if dn not found, not listable or delete fails
944 941
 	 */
Please login to merge, or discard this patch.
setup/inc/class.setup_cmd_showheader.inc.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,6 @@
 block discarded – undo
28 28
 	/**
29 29
 	 * Constructor
30 30
 	 *
31
-	 * @param boolean $data=true true: send only the remote_hash, domain and webserver_url,
32
-	 *                           false: the complete header vars, plus install_id and webserver_url from the config table,
33
-	 *                           null:  only the header vars
34 31
 	 */
35 32
 	function __construct($data=true,$header_admin_user=null,$header_admin_password=null)
36 33
 	{
Please login to merge, or discard this patch.
setup/inc/class.setup_detection.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
 	/**
253 253
 	 * Check if header exists and is up to date
254 254
 	 *
255
-	 * @return int 1=no header.inc.php, 2=no header admin pw, 3=no instances, 4=need upgrade, 10=ok
255
+	 * @return string 1=no header.inc.php, 2=no header admin pw, 3=no instances, 4=need upgrade, 10=ok
256 256
 	 */
257 257
 	function check_header()
258 258
 	{
Please login to merge, or discard this patch.
setup/inc/class.setup_process.inc.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,10 +53,7 @@
 block discarded – undo
53 53
 	 * the mother of all multipass upgrade parental loop functions
54 54
 	 *
55 55
 	 * @param array $setup_info array of application info from setup.inc.php files
56
-	 * @param string $type='new' defaults to new(install), could also be 'upgrade'
57
-	 * @param boolean $DEBUG=false print debugging info
58
-	 * @param boolean $force_en=false install english language files, not used anymore
59
-	 * @param string $system_charset=null charset to use
56
+	 * @param boolean $force_en install english language files, not used anymore
60 57
 	 * @param array $preset_config=array()
61 58
 	 */
62 59
 	function pass(array $setup_info,$method='new',$DEBUG=False,$force_en=False,$preset_config=array())
Please login to merge, or discard this patch.
timesheet/inc/class.timesheet_bo.inc.php 1 patch
Doc Comments   +7 added lines, -9 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 	 *
262 262
 	 * @param statuses List of statuses to process, with sub-statuses in a 'substatus' array
263 263
 	 * @param labels Array of labels, pass array() and labels will be built in it
264
-	 * @param depth Current depth
264
+	 * @param depth integer depth
265 265
 	 *
266 266
 	 * @return None, labels are built in labels parameter
267 267
 	 */
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 	 *
306 306
 	 * @param array|int $data =null use $this->data or $this->data['ts_id'] (to fetch the data)
307 307
 	 * @param int $user =null for which user to check, default current user
308
-	 * @return boolean true if the rights are ok, false if no rights
308
+	 * @return null|boolean true if the rights are ok, false if no rights
309 309
 	 */
310 310
 	function check_statusForEditRights($data=null,$user=null)
311 311
 	{
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
 	 * @param int $required Acl::READ, EGW_ACL_WRITE, Acl::ADD, Acl::DELETE, EGW_ACL_BUDGET, EGW_ACL_EDIT_BUDGET
341 341
 	 * @param array|int $data =null project or project-id to use, default the project in $this->data
342 342
 	 * @param int $user =null for which user to check, default current user
343
-	 * @return boolean true if the rights are ok, null if not found, false if no rights
343
+	 * @return null|boolean true if the rights are ok, null if not found, false if no rights
344 344
 	 */
345 345
 	function check_acl($required,$data=null,$user=null)
346 346
 	{
@@ -397,11 +397,11 @@  discard block
 block discarded – undo
397 397
 	 * @param array|string $criteria array of key and data cols, OR a SQL query (content for WHERE), fully quoted (!)
398 398
 	 * @param boolean|string $only_keys =true True returns only keys, False returns all cols. comma seperated list of keys to return
399 399
 	 * @param string $order_by ='' fieldnames + {ASC|DESC} separated by colons ',', can also contain a GROUP BY (if it contains ORDER BY)
400
-	 * @param string|array $extra_cols ='' string or array of strings to be added to the SELECT, eg. "count(*) as num"
400
+	 * @param string $extra_cols ='' string or array of strings to be added to the SELECT, eg. "count(*) as num"
401 401
 	 * @param string $wildcard ='' appended befor and after each criteria
402 402
 	 * @param boolean $empty =false False=empty criteria are ignored in query, True=empty have to be empty in row
403 403
 	 * @param string $op ='AND' defaults to 'AND', can be set to 'OR' too, then criteria's are OR'ed together
404
-	 * @param mixed $start =false if != false, return only maxmatch rows begining with start, or array($start,$num)
404
+	 * @param boolean $start =false if != false, return only maxmatch rows begining with start, or array($start,$num)
405 405
 	 * @param array $filter =null if set (!=null) col-data pairs, to be and-ed (!) into the query without wildcards
406 406
 	 * @param string $join ='' sql to do a join, added as is after the table-name, eg. ", table2 WHERE x=y" or
407 407
 	 *	"LEFT JOIN table2 ON (x=y)", Note: there's no quoting done on $join!
@@ -658,8 +658,6 @@  discard block
 block discarded – undo
658 658
 	 * delete / move all timesheets of a given user
659 659
 	 *
660 660
 	 * @param array $data
661
-	 * @param int $data['account_id'] owner to change
662
-	 * @param int $data['new_owner']  new owner or 0 for delete
663 661
 	 */
664 662
 	function deleteaccount($data)
665 663
 	{
@@ -686,7 +684,7 @@  discard block
 block discarded – undo
686 684
 	 *
687 685
 	 * @param array $keys =null if given array with col => value pairs to characterise single timesheet or null for $this->data
688 686
 	 * @param int $status =0
689
-	 * @return int affected rows, should be 1 if ok, 0 if an error
687
+	 * @return boolean affected rows, should be 1 if ok, 0 if an error
690 688
 	 */
691 689
 	function set_status($keys=null, $status=0)
692 690
 	{
@@ -816,7 +814,7 @@  discard block
 block discarded – undo
816 814
 	 * @param int $check Acl::READ for read and Acl::EDIT for write or delete access
817 815
 	 * @param string $rel_path =null currently not used in InfoLog
818 816
 	 * @param int $user =null for which user to check, default current user
819
-	 * @return boolean true if access is granted or false otherwise
817
+	 * @return null|boolean true if access is granted or false otherwise
820 818
 	 */
821 819
 	function file_access($id,$check,$rel_path=null,$user=null)
822 820
 	{
Please login to merge, or discard this patch.