Completed
Push — spinner-sidebar-ad12213d ( ad1221 )
by Thomas
18:27
created
backend/contact/backend.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 class Backend extends Contact implements BackendUtils\IBackendAPI {
32 32
 
33 33
 	/**
34
-	 * @param IManager $appManager
35 34
 	 */
36 35
 	public function __construct(IManager $contactsManager) {
37 36
 		parent::__construct($contactsManager);
Please login to merge, or discard this patch.
backend/contact/calendar.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
 
152 152
 
153 153
 	/**
154
-	 * @param $privateUri
154
+	 * @param string $privateUri
155 155
 	 * @return string
156 156
 	 */
157 157
 	private function generateDisplayname($privateUri) {
Please login to merge, or discard this patch.
backend/contact/contact.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
 
40 40
 
41 41
 	/**
42
-	 * @param IManager $contacts
43 42
 	 */
44 43
 	public function __construct(IManager $contactsManager) {
45 44
 		$this->contactsManager = $contactsManager;
Please login to merge, or discard this patch.
backend/contact/object.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
 
223 223
 	/**
224 224
 	 * get contact entity based on object's uri
225
-	 * @param $objectURI
225
+	 * @param string $objectURI
226 226
 	 * @return null | []
227 227
 	 */
228 228
 	private function getContactFromUri($objectURI) {
Please login to merge, or discard this patch.
backend/local/object.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 	/**
293 293
 	 * create an object object from row
294 294
 	 * @param array $row
295
-	 * @return \OCA\Calendar\IEntity
295
+	 * @return \OCA\Calendar\Db\Object|null
296 296
 	 */
297 297
 	private function rowToEntity($row) {
298 298
 		$object = $this->factory->createEntity([
@@ -355,6 +355,8 @@  discard block
 block discarded – undo
355 355
 	 * @param \DateTime $end
356 356
 	 * @param string &$sql
357 357
 	 * @param array &$params
358
+	 * @param string $sql
359
+	 * @param integer[] $params
358 360
 	 */
359 361
 	private function addPeriodQuery(\DateTime $start, \DateTime $end, &$sql, &$params) {
360 362
 		$start->modify('-1 day');
Please login to merge, or discard this patch.
businesslayer/timezone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 	 * @param string $tzId
74 74
 	 * @param string $userId
75 75
 	 * @throws Exception
76
-	 * @return \OCA\Calendar\ITimezone
76
+	 * @return \OCA\Calendar\Db\Timezone|null
77 77
 	 */
78 78
 	public function find($tzId, $userId) {
79 79
 		try {
Please login to merge, or discard this patch.
cache/calendar/cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
 
286 286
 	/**
287 287
 	 * @param string $sql
288
-	 * @param array $params
288
+	 * @param string[] $params
289 289
 	 */
290 290
 	protected function addBackendQuery(&$sql, array &$params) {
291 291
 		//TODO remove hack:
Please login to merge, or discard this patch.
controller/objectcontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 
182 182
 
183 183
 	/**
184
-	 * @param $calendarId
184
+	 * @param integer $calendarId
185 185
 	 * @return mixed
186 186
 	 * @throws BusinessLayer\Exception
187 187
 	 */
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.