Completed
Branch master (19a7d3)
by Tim
05:43
created
Classes/Controller/AbstractController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      * Send the content type header and the right file extension in front of the content
71 71
      *
72 72
      * @param $contentType
73
-     * @param $fileExtension
73
+     * @param string $fileExtension
74 74
      */
75 75
     protected function sendHeaderAndFilename($contentType, $fileExtension)
76 76
     {
Please login to merge, or discard this patch.
Classes/Domain/Repository/IndexRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * Find List
104 104
      *
105 105
      * @param int        $limit
106
-     * @param int|string $listStartTime
106
+     * @param integer $listStartTime
107 107
      * @param int        $startOffsetHours
108 108
      * @param int        $overrideStartDate
109 109
      * @param int        $overrideEndDate
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      * Find by traversing information
185 185
      *
186 186
      * @param Index      $index
187
-     * @param bool|true  $future
187
+     * @param boolean  $future
188 188
      * @param bool|false $past
189 189
      * @param int        $limit
190 190
      * @param string     $sort
Please login to merge, or discard this patch.
Classes/Service/CalDav/BackendTypo3.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * @param string $calendarUri
137 137
      * @param array  $properties
138 138
      *
139
-     * @return mixed
139
+     * @return string
140 140
      * @throws Sabre_DAV_Exception
141 141
      */
142 142
     public function createCalendar($principalUri, $calendarUri, array $properties)
@@ -491,9 +491,9 @@  discard block
 block discarded – undo
491 491
     /**
492 492
      * Update cal event
493 493
      *
494
-     * @param $calendarId
495
-     * @param $objectUri
496
-     * @param $calendarData
494
+     * @param string $calendarId
495
+     * @param string $objectUri
496
+     * @param string $calendarData
497 497
      */
498 498
     private function updateCalEvent($calendarId, $objectUri, $calendarData)
499 499
     {
Please login to merge, or discard this patch.
Classes/Service/CalDav/PrincipalBackendTypo3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      *
130 130
      * @param $principal
131 131
      *
132
-     * @return array
132
+     * @return string[]
133 133
      * @throws Exception
134 134
      */
135 135
     public function getGroupMemberSet($principal)
Please login to merge, or discard this patch.
Classes/Service/ContentElementLayoutService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * Add one row to the table
45 45
      *
46 46
      * @param string $label
47
-     * @param mixed  $value
47
+     * @param string  $value
48 48
      */
49 49
     public function addRow($label, $value)
50 50
     {
Please login to merge, or discard this patch.
Classes/UserFunction/TimeSelectionWizard.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -74,6 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * Get the times
76 76
      *
77
+     * @param integer $pageUid
77 78
      * @return array
78 79
      */
79 80
     protected function getTimes($pageUid)
Please login to merge, or discard this patch.
Classes/Utility/HelperUtility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @param string $className
30 30
      *
31
-     * @return object
31
+     * @return integer
32 32
      */
33 33
     public static function create($className)
34 34
     {
Please login to merge, or discard this patch.
Private/Php/ICalDissect/src/JMBTechnologyLimited/ICalDissect/ICalExDate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 	protected $properties;
17 17
 	protected $values;
18 18
 
19
+	/**
20
+	 * @param string $properties
21
+	 */
19 22
 	function __construct($values, $properties)
20 23
 	{
21 24
 		$this->properties = $properties;
Please login to merge, or discard this patch.
Private/Php/ICalDissect/src/JMBTechnologyLimited/ICalDissect/ICalParser.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 	}
24 24
 	
25 25
     /**
26
-     * @param {string} $filename The path to the iCal-file
27
-     * @return Object The iCal-Object
26
+     * @param string $filename The path to the iCal-file
27
+     * @return boolean The iCal-Object
28 28
      */
29 29
     public function parseFromFile($filename)
30 30
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 	/**
103 103
 	 * This is only for debugging.
104 104
 	 * This class ensures all dates returned are in UTC, whatever the input time zone was.
105
-	 * @return type 
105
+	 * @return string 
106 106
 	 */
107 107
 	public function getTimeZoneIdentifier() 
108 108
 	{
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
44 44
     
45 45
 			# pass1: put multi lines back into one line.
46 46
 			$linesCompacted = array();
47
-			foreach($lines as $line) {
48
-				if (substr($line,0,1) == ' ') {
49
-					$linesCompacted[count($linesCompacted)-1] .= substr($line, 1);
47
+			foreach ($lines as $line) {
48
+				if (substr($line, 0, 1) == ' ') {
49
+					$linesCompacted[count($linesCompacted) - 1] .= substr($line, 1);
50 50
 				} else {
51 51
 					$linesCompacted[] = trim($line);
52 52
 				}
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 						
55 55
 			#pass2: turn lines into formatted data
56 56
 			$rawLines = array();
57
-			foreach($linesCompacted as $line) {
57
+			foreach ($linesCompacted as $line) {
58 58
 				$bits = explode(":", $line, 2);
59 59
 				$kbits = explode(";", $bits[0], 2);
60 60
 				$value = count($bits) == 2 ? $bits[1] : '';
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 			
74 74
 			# pass3: finally parse lines
75 75
 			$stack = array();
76
-			foreach($rawLines as $line) {
76
+			foreach ($rawLines as $line) {
77 77
 				if ($line['KEYWORD'] == 'BEGIN') {
78 78
 					$stack[] = $line['VALUE'];
79 79
 					if ($line['VALUE'] == 'VEVENT') {
@@ -83,12 +83,12 @@  discard block
 block discarded – undo
83 83
 					// TODO check VALUE and last stack match
84 84
 					array_pop($stack);
85 85
 				} else {
86
-					$currentlyIn = $stack[count($stack)-1];
86
+					$currentlyIn = $stack[count($stack) - 1];
87 87
 					//print $currentlyIn." with K ".$line['KEYWORD']."\n";
88 88
 					if ($currentlyIn == 'VEVENT') {
89
-						$this->events[count($this->events)-1]->processLine($line['KEYWORD'],$line['VALUE'], $line['KEYWORDOPTIONS']);
89
+						$this->events[count($this->events) - 1]->processLine($line['KEYWORD'], $line['VALUE'], $line['KEYWORDOPTIONS']);
90 90
 					} elseif ($currentlyIn == 'VTIMEZONE') {
91
-						$this->timezone->processLine($line['KEYWORD'],$line['VALUE'], $line['KEYWORDOPTIONS']);
91
+						$this->timezone->processLine($line['KEYWORD'], $line['VALUE'], $line['KEYWORDOPTIONS']);
92 92
 					}
93 93
 				}
94 94
 			}
Please login to merge, or discard this patch.