Completed
Push — broken-settings-panel-d60f55ea ( d60f55 )
by Thomas
35:23
created
cache/calendar/scanner.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -31,12 +31,10 @@
 block discarded – undo
31 31
 use OCA\Calendar\ICalendar;
32 32
 use OCA\Calendar\IObject;
33 33
 use OCA\Calendar\IObjectCollection;
34
-
35 34
 use OCP\AppFramework\Http;
36 35
 use OCP\AppFramework\Http\JSONResponse;
37 36
 use OCP\IRequest;
38 37
 use OCP\IUserSession;
39
-
40 38
 use DateTime;
41 39
 
42 40
 class ObjectController extends Controller {
Please login to merge, or discard this patch.
cache/object/scanner.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -31,12 +31,10 @@
 block discarded – undo
31 31
 use OCA\Calendar\ICalendar;
32 32
 use OCA\Calendar\IObject;
33 33
 use OCA\Calendar\IObjectCollection;
34
-
35 34
 use OCP\AppFramework\Http;
36 35
 use OCP\AppFramework\Http\JSONResponse;
37 36
 use OCP\IRequest;
38 37
 use OCP\IUserSession;
39
-
40 38
 use DateTime;
41 39
 
42 40
 class ObjectController extends Controller {
Please login to merge, or discard this patch.
controller/calendarcontroller.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
db/calendarfactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
db/collection.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	 * @param ICollection $collection collection of entities to be added
99 99
 	 * @param integer $nth insert at index, if not set, collection will be appended
100 100
 	 *        if negative, it will be inserted at the position that many elements from the end
101
-	 * @return integer
101
+	 * @return Collection
102 102
 	 */
103 103
 	public function addCollection(ICollection $collection, $nth=null) {
104 104
 		return $this->addObjects($collection->getObjects(), $nth);
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	 * @param array $array
112 112
 	 * @param integer $nth insert at index, if not set, objects will be appended
113 113
 	 *        if negative, it will be inserted at the position that many elements from the end
114
-	 * @return integer
114
+	 * @return Collection
115 115
 	 */
116 116
 	public function addObjects(array $array, $nth=null) {
117 117
 		if ($nth === null) {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	/**
139 139
 	 * set objects
140 140
 	 *
141
-	 * @param array $objects
141
+	 * @param TestEntity[] $objects
142 142
 	 * @return $this
143 143
 	 */
144 144
 	public function setObjects(array $objects) {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	 *
153 153
 	 * @param integer $limit
154 154
 	 * @param integer $offset
155
-	 * @return array of Entities
155
+	 * @return ICollection of Entities
156 156
 	 */
157 157
 	public function subset($limit=null, $offset=null) {
158 158
 		/** @var ICollection $instance */
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
 	 * get a collection of entities that meet criteria
188 188
 	 *
189 189
 	 * @param string $key property that's supposed to be searched
190
-	 * @param mixed $value expected value, can be a regular expression when 3rd param is set to true
191
-	 * @return mixed (boolean|ICollection)
190
+	 * @param boolean|string $value expected value, can be a regular expression when 3rd param is set to true
191
+	 * @return Collection (boolean|ICollection)
192 192
 	 */
193 193
 	public function search($key, $value) {
194 194
 		$collection = new static();
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 
278 278
 
279 279
 	/**
280
-	 * @param mixed $offset
280
+	 * @param integer $offset
281 281
 	 * @param mixed $value
282 282
 	 */
283 283
 	public function offsetSet($offset, $value){
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 
294 294
 
295 295
 	/**
296
-	 * @param mixed $offset
296
+	 * @param integer $offset
297 297
 	 */
298 298
 	public function offsetUnset($offset) {
299 299
 		unset($this->objects[$offset]);
Please login to merge, or discard this patch.
db/objectcollection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
http/ics/objectdownloadresponse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
http/ics/objectreader.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
http/ics/objectresponse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.