Completed
Push — master ( 9d054b...106a1b )
by Klaus
23:45 queued 04:19
created
api/src/Etemplate/Widget/Tree.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -361,7 +361,6 @@  discard block
 block discarded – undo
361 361
 	 * Get options from $sel_options array for a given selectbox name
362 362
 	 *
363 363
 	 * @param string $name
364
-	 * @param boolean $no_lang=false value of no_lang attribute
365 364
 	 * @return array
366 365
 	 */
367 366
 	public static function selOptions($name)
@@ -400,7 +399,7 @@  discard block
 block discarded – undo
400 399
 	 *
401 400
 	 * @param string $widget_type
402 401
 	 * @param string $legacy_options options string of widget
403
-	 * @param boolean $no_lang=false initial value of no_lang attribute (some types set it to true)
402
+	 * @param boolean $no_lang initial value of no_lang attribute (some types set it to true)
404 403
 	 * @param boolean $readonly =false
405 404
 	 * @param mixed $value =null value for readonly
406 405
 	 * @return array with value => label pairs
Please login to merge, or discard this patch.
api/src/Etemplate/Widget/Url.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,6 @@
 block discarded – undo
52 52
 	 * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont'
53 53
 	 * @param array $content
54 54
 	 * @param array &$validated=array() validated content
55
-	 * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont'
56 55
 	 */
57 56
 	public function validate($cname, array $expand, array $content, &$validated=array())
58 57
 	{
Please login to merge, or discard this patch.
api/src/Etemplate/Widget/Vfs.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -230,6 +230,7 @@
 block discarded – undo
230 230
 	* If the entry is not yet created, the file information is stored into the widget's value.
231 231
 	* When the form is submitted, the information for all files uploaded is available in the returned
232 232
 	* $content array and the application should deal with the file.
233
+	* @return string
233 234
 	*/
234 235
 	public static function store_file($path, $file)
235 236
 	{
Please login to merge, or discard this patch.
api/src/Exception/NoPermission/Admin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
  */
20 20
 class Admin extends App
21 21
 {
22
+	/**
23
+	 * @param string $msg
24
+	 */
22 25
 	function __construct($msg=null,$code=102)
23 26
 	{
24 27
 		if (is_null($msg)) $msg = 'admin';
Please login to merge, or discard this patch.
api/src/Framework.php 1 patch
Doc Comments   +4 added lines, -10 removed lines patch added patch discarded remove patch
@@ -78,6 +78,7 @@  discard block
 block discarded – undo
78 78
 	 * Constructor
79 79
 	 *
80 80
 	 * The constructor instanciates the class in $GLOBALS['egw']->framework, from where it should be used
81
+	 * @param string $template
81 82
 	 */
82 83
 	function __construct($template)
83 84
 	{
@@ -544,7 +545,7 @@  discard block
 block discarded – undo
544 545
 	/**
545 546
 	 * Returns Html with user and time
546 547
 	 *
547
-	 * @return void
548
+	 * @return string
548 549
 	 */
549 550
 	protected static function _user_time_info()
550 551
 	{
@@ -602,7 +603,7 @@  discard block
 block discarded – undo
602 603
 	 *
603 604
 	 * @param string $username =null username for regular basic Auth
604 605
 	 * @param string $password =null password --------- " ----------
605
-	 * @return resource|null context to use with file_get_context/fopen or null if no proxy configured
606
+	 * @return resource context to use with file_get_context/fopen or null if no proxy configured
606 607
 	 */
607 608
 	public static function proxy_context($username=null, $password=null)
608 609
 	{
@@ -970,7 +971,6 @@  discard block
 block discarded – undo
970 971
 	 *
971 972
 	 * Themes are css file in the template directory
972 973
 	 *
973
-	 * @param string $themes_dir ='css'
974 974
 	 */
975 975
 	function list_themes()
976 976
 	{
@@ -1156,11 +1156,6 @@  discard block
 block discarded – undo
1156 1156
 	/**
1157 1157
 	* Add menu items to the topmenu template class to be displayed
1158 1158
 	*
1159
-	* @param array $app application data
1160
-	* @param mixed $alt_label string with alternative menu item label default value = null
1161
-	* @param string $urlextra string with alternate additional code inside <a>-tag
1162
-	* @access protected
1163
-	* @return void
1164 1159
 	*/
1165 1160
 	abstract function _add_topmenu_item(array $app_data,$alt_label=null);
1166 1161
 
@@ -1253,7 +1248,6 @@  discard block
 block discarded – undo
1253 1248
 	* @param string $package package or complete path (relative to EGW_SERVER_ROOT) to be included
1254 1249
 	* @param string|array $file =null file to be included - no ".js" on the end or array with get params
1255 1250
 	* @param string $app ='phpgwapi' application directory to search - default = phpgwapi
1256
-	* @param boolean $append =true should the file be added
1257 1251
 	*/
1258 1252
 	static function includeJS($package, $file=null, $app='phpgwapi')
1259 1253
 	{
@@ -1414,7 +1408,7 @@  discard block
 block discarded – undo
1414 1408
 	 * @param string $action "add" or "delete"
1415 1409
 	 * @param boolean|int|string $group ID of the group to create the favorite for, or 'all' for all users
1416 1410
 	 * @param array $filters =array() key => value pairs for the filter
1417
-	 * @return boolean Success
1411
+	 * @return boolean|null Success
1418 1412
 	 */
1419 1413
 	public static function ajax_set_favorite($app, $name, $action, $group, $filters = array())
1420 1414
 	{
Please login to merge, or discard this patch.
api/src/Framework/CssIncludes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 	 * Parse beginning of given CSS file for /*@import url("...") statements
146 146
 	 *
147 147
 	 * @param string $path EGroupware relative path eg. /phpgwapi/templates/default/some.css
148
-	 * @return array parsed pathes (EGroupware relative) including $path itself
148
+	 * @return string[] parsed pathes (EGroupware relative) including $path itself
149 149
 	 */
150 150
 	protected static function resolve_css_includes($path, &$pathes=array())
151 151
 	{
Please login to merge, or discard this patch.
api/src/Framework/Favorites.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
 	 * @param string $action "add" or "delete"
188 188
 	 * @param boolean|int|String $group ID of the group to create the favorite for, or 'all' for all users
189 189
 	 * @param array $filters key => value pairs for the filter
190
-	 * @return boolean Success
190
+	 * @return boolean|null Success
191 191
 	 */
192 192
 	public static function set_favorite($app, $_name, $action, $group, $filters = array())
193 193
 	{
Please login to merge, or discard this patch.
api/src/Framework/Minimal.php 1 patch
Doc Comments   -5 removed lines patch added patch discarded remove patch
@@ -103,11 +103,6 @@
 block discarded – undo
103 103
 	/**
104 104
 	* Add menu items to the topmenu template class to be displayed
105 105
 	*
106
-	* @param array $app application data
107
-	* @param mixed $alt_label string with alternative menu item label default value = null
108
-	* @param string $urlextra string with alternate additional code inside <a>-tag
109
-	* @access protected
110
-	* @return void
111 106
 	*/
112 107
 	function _add_topmenu_item(array $app_data,$alt_label=null)
113 108
 	{
Please login to merge, or discard this patch.
api/src/Framework/Updates.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	/**
39 39
 	 * Get versions of available updates
40 40
 	 *
41
-	 * @return array verions for keys "current" and "security"
41
+	 * @return string verions for keys "current" and "security"
42 42
 	 */
43 43
 	public static function available()
44 44
 	{
Please login to merge, or discard this patch.