Completed
Push — objectcache-182986d5 ( 182986 )
by Thomas
12:41
created
db/calendarfactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 use OCA\Calendar\IBackendCollection;
29 29
 use OCA\Calendar\ICalendar;
30 30
 use OCA\Calendar\ICalendarCollection;
31
-
32 31
 use OCP\ILogger;
33 32
 
34 33
 class CalendarFactory extends EntityFactory {
Please login to merge, or discard this patch.
db/collection.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 	 *
107 107
 	 * @param ICollection $collection collection of entities to be added
108 108
 	 * @param integer $nth insert at index, if not set, collection will be appended
109
-	 * @return integer
109
+	 * @return Collection
110 110
 	 */
111 111
 	public function addCollection(ICollection $collection, $nth=null) {
112 112
 		if ($nth === null) {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 	 *
128 128
 	 * @param array $array
129 129
 	 * @param integer $nth insert at index, if not set, objects will be appended
130
-	 * @return integer
130
+	 * @return Collection
131 131
 	 */
132 132
 	public function addObjects(array $array, $nth=null) {
133 133
 		if ($nth === null) {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	 *
171 171
 	 * @param integer $limit
172 172
 	 * @param integer $offset
173
-	 * @return array of Entities
173
+	 * @return ICollection of Entities
174 174
 	 */
175 175
 	public function subset($limit=null, $offset=null) {
176 176
 		/** @var ICollection $instance */
@@ -207,8 +207,8 @@  discard block
 block discarded – undo
207 207
 	 * get a collection of entities that meet criteria
208 208
 	 *
209 209
 	 * @param string $key property that's supposed to be searched
210
-	 * @param mixed $value expected value, can be a regular expression when 3rd param is set to true
211
-	 * @return mixed (boolean|ICollection)
210
+	 * @param boolean|string $value expected value, can be a regular expression when 3rd param is set to true
211
+	 * @return Collection (boolean|ICollection)
212 212
 	 */
213 213
 	public function search($key, $value) {
214 214
 		$collection = new static();
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
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 use OCA\Calendar\IObjectCollection;
29 29
 use OCA\Calendar\IObject;
30 30
 use OCA\Calendar\ITimezone;
31
-
32 31
 use DateTime;
33 32
 
34 33
 class ObjectCollection extends Collection implements IObjectCollection {
Please login to merge, or discard this patch.
db/objectfactory.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
 
146 146
 	/**
147 147
 	 * @param $data
148
-	 * @param $format
148
+	 * @param integer $format
149 149
 	 * @param boolean $isEntity whether to return entity or collection
150 150
 	 * @return \OCA\Calendar\Db\Object
151 151
 	 */
Please login to merge, or discard this patch.
db/timezonemapper.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\Db;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-use OCA\Calendar\IEntity;
26 25
 use OCP\AppFramework\Db\Entity;
27 26
 use OCP\Util;
28 27
 
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
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 use OCA\Calendar\ICalendar;
26 26
 use OCA\Calendar\IObject;
27 27
 use OCA\Calendar\Utility\SabreUtility;
28
-
29 28
 use OCP\AppFramework\Http\DataDownloadResponse;
30 29
 
31 30
 class ObjectDownloadResponse extends DataDownloadResponse {
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
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use OCA\Calendar\Db\ObjectFactory;
25 25
 use OCA\Calendar\Http\Reader;
26 26
 use OCA\Calendar\Http\ReaderException;
27
-
28 27
 use OCP\IRequest;
29 28
 
30 29
 class ObjectReader extends Reader {
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
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use OCA\Calendar\Db\TimezoneMapper;
25 25
 use OCA\Calendar\IObject;
26 26
 use OCA\Calendar\Utility\SabreUtility;
27
-
28 27
 use OCP\AppFramework\Http;
29 28
 
30 29
 class ObjectResponse extends Http\DataResponse {
Please login to merge, or discard this patch.
http/json/objectreader.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use OCA\Calendar\Db\ObjectFactory;
25 25
 use OCA\Calendar\Http\Reader;
26 26
 use OCA\Calendar\Http\ReaderException;
27
-
28 27
 use OCP\IRequest;
29 28
 
30 29
 class ObjectReader extends Reader {
Please login to merge, or discard this patch.