Completed
Push — master ( f20844...cbbb1b )
by Paul
08:44
created
programs/caldav.class.php 1 patch
Doc Comments   +10 added lines, -7 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 	/**
279 279
 	 * Get server configuration
280 280
 	 * @param int $id_server
281
-	 * @return array
281
+	 * @return string
282 282
 	 */
283 283
 	public function getServer($id_server)
284 284
 	{
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
 	 * 												PUBLISH | REQUEST | REPLY | ADD | CANCEL | REFRESH | COUNTER | DECLINECOUNTER
468 468
 	 *
469 469
 	 *
470
-	 * @return bool		true if the period was correctly saved.
470
+	 * @return null|boolean		true if the period was correctly saved.
471 471
 	 */
472 472
 	public function savePeriod(bab_CalendarPeriod $period, $method = null)
473 473
 	{
@@ -694,6 +694,7 @@  discard block
 block discarded – undo
694 694
 	 * T6775 : probablement plusieurs EXDATE dans le meme evenement
695 695
 	 * 
696 696
 	 * @param	string | array	$properties
697
+	 * @param string $properties
697 698
 	 * @return array
698 699
 	 */
699 700
 	private function explodeRules($properties)
@@ -1197,7 +1198,7 @@  discard block
 block discarded – undo
1197 1198
 	 *
1198 1199
 	 * @param caldav_PersonalCalendar $calendar
1199 1200
 	 * @param bab_CalendarPeriod $period
1200
-	 * @return unknown_type
1201
+	 * @return boolean|null
1201 1202
 	 */
1202 1203
 	private function deletePeriodForUser(caldav_PersonalCalendar $calendar, bab_CalendarPeriod $period)
1203 1204
 	{
@@ -1377,7 +1378,7 @@  discard block
 block discarded – undo
1377 1378
 	 * @param bab_PersonalCalendar 	$calendar	the personal calendar used as an attendee
1378 1379
 	 * @param string 				$partstat	ACCEPTED | DECLINED
1379 1380
 	 * @param string				$comment	comment given when changing PARTSTAT (optional)
1380
-	 * @return bool
1381
+	 * @return null|boolean
1381 1382
 	 */
1382 1383
 	public function updateAttendeePartstat(bab_CalendarPeriod $period, bab_PersonalCalendar $calendar, $partstat, $comment = '')
1383 1384
 	{
@@ -1422,7 +1423,6 @@  discard block
 block discarded – undo
1422 1423
 
1423 1424
 	/**
1424 1425
 	 * @param $object
1425
-	 * @param array			$privileges
1426 1426
 	 * @param array<int>	$users			Ovidentia user ids
1427 1427
 	 * @param string		$changeType		'grant' or 'deny'
1428 1428
 	 */
@@ -1806,7 +1806,8 @@  discard block
 block discarded – undo
1806 1806
 	
1807 1807
 	/**
1808 1808
 	 * Get username and password to use for personnal calendar
1809
-	 * @return array
1809
+	 * @param integer $userId
1810
+	 * @return string[]
1810 1811
 	 */
1811 1812
 	public function getPersonalCalendarCredentials($userId)
1812 1813
 	{
@@ -1824,6 +1825,9 @@  discard block
 block discarded – undo
1824 1825
 	
1825 1826
 	
1826 1827
 	
1828
+	/**
1829
+	 * @param integer $userId
1830
+	 */
1827 1831
 	public function getPersonnalCalendarUrl($userId)
1828 1832
 	{
1829 1833
 		if ($this->configByUser())
@@ -1918,7 +1922,6 @@  discard block
 block discarded – undo
1918 1922
 	 * @param string	$password
1919 1923
 	 *
1920 1924
 	 * @param int    $userId     The ovidentia user id.
1921
-	 * @param string $identifier The caldav user identifier.
1922 1925
 	 *
1923 1926
 	 * @return Func_CalendarBackend_Caldav
1924 1927
 	 */
Please login to merge, or discard this patch.
programs/calendarperiod.class.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,6 +99,10 @@  discard block
 block discarded – undo
99 99
 
100 100
 
101 101
 
102
+	/**
103
+	 * @param string $name
104
+	 * @param string $value
105
+	 */
102 106
 	static private function getPropertyValue($name, $value)
103 107
 	{
104 108
 		if ($name === 'DESCRIPTION') {
@@ -474,7 +478,7 @@  discard block
 block discarded – undo
474 478
 	 * 
475 479
 	 *
476 480
 	 * @param	string	$icalProperty
477
-	 * @param	mixed	$value
481
+	 * @param	string	$value
478 482
 	 *
479 483
 	 * @return caldav_CalendarPeriod
480 484
 	 */
Please login to merge, or discard this patch.
programs/eventcalendar.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -491,6 +491,9 @@
 block discarded – undo
491 491
  	}
492 492
  	
493 493
  	
494
+ 	/**
495
+ 	 * @param string $name
496
+ 	 */
494 497
  	public function setName($name)
495 498
  	{
496 499
  		$this->name = $name;
Please login to merge, or discard this patch.
programs/functions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
 /**
39 39
  * Parse attendee property
40 40
  * @param string $iCalPropertyName
41
+ * @param string $iCalPropertyValue
41 42
  * @return array
42 43
  */
43 44
 function caldav_getAttendeeProp($iCalPropertyName, $iCalPropertyValue)
Please login to merge, or discard this patch.