Completed
Pull Request — stable8 (#25505)
by Thomas
24:29
created
lib/private/user/session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
 	/**
143 143
 	 * get the current active user
144 144
 	 *
145
-	 * @return \OCP\IUser|null Current user, otherwise null
145
+	 * @return null|User Current user, otherwise null
146 146
 	 */
147 147
 	public function getUser() {
148 148
 		// FIXME: This is a quick'n dirty work-around for the incognito mode as
Please login to merge, or discard this patch.
lib/public/appframework/utility/icontrollermethodreflector.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@
 block discarded – undo
36 36
 	 * @param object $object an object or classname
37 37
 	 * @param string $method the method which we want to inspect
38 38
 	 * @since 8.0.0
39
+	 * @return void
39 40
 	 */
40 41
 	public function reflect($object, $method);
41 42
 
Please login to merge, or discard this patch.
lib/public/backgroundjob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
 	 * @deprecated 6.0.0
132 132
 	 * Gets one queued task
133 133
 	 * @param int $id ID of the task
134
-	 * @return BackgroundJob\IJob|null
134
+	 * @return BackgroundJob\IJob
135 135
 	 * @since 4.5.0
136 136
 	 */
137 137
 	public static function findQueuedTask($id) {
Please login to merge, or discard this patch.
lib/public/files.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	/**
67 67
 	 * Search for files by mimetype
68 68
 	 * @param string $mimetype
69
-	 * @return array
69
+	 * @return \OC\Files\FileInfo[]
70 70
 	 * @since 6.0.0
71 71
 	 */
72 72
 	static public function searchByMime( $mimetype ) {
Please login to merge, or discard this patch.
lib/public/search/pagedprovider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -59,6 +59,7 @@
 block discarded – undo
59 59
 	 * @param string $query
60 60
 	 * @param int $page pages start at page 1
61 61
 	 * @param int $size, 0 = SIZE_ALL
62
+	 * @param integer $size
62 63
 	 * @return array An array of OCP\Search\Result's
63 64
 	 * @since 8.0.0
64 65
 	 */
Please login to merge, or discard this patch.
lib/public/template.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,8 @@
 block discarded – undo
100 100
 /**
101 101
  * Return the relative date in relation to today. Returns something like "last hour" or "two month ago"
102 102
  * @param int $timestamp unix timestamp
103
- * @param boolean $dateOnly
104
- * @return \OC_L10N_String human readable interpretation of the timestamp
103
+ * @param integer $dateOnly
104
+ * @return string human readable interpretation of the timestamp
105 105
  *
106 106
  * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead
107 107
  */
Please login to merge, or discard this patch.
lib/repair/innodb.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 	}
54 54
 
55 55
 	/**
56
-	 * @param \Doctrine\DBAL\Connection $connection
56
+	 * @param \OCP\IDBConnection $connection
57 57
 	 * @return string[]
58 58
 	 */
59 59
 	private function getAllMyIsamTables($connection) {
Please login to merge, or discard this patch.
tests/lib/appframework/controller/ControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
 
33 33
 class ChildController extends Controller {
34 34
 
35
+	/**
36
+	 * @param Request $request
37
+	 */
35 38
 	public function __construct($appName, $request) {
36 39
 		parent::__construct($appName, $request);
37 40
 		$this->registerResponder('tom', function ($respone) {
Please login to merge, or discard this patch.
tests/lib/appframework/db/EntityTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
 	protected $testId;
43 43
 	protected $preName;
44 44
 
45
+	/**
46
+	 * @param string $name
47
+	 */
45 48
 	public function __construct($name=null){
46 49
 		$this->addType('testId', 'integer');		
47 50
 		$this->name = $name;
Please login to merge, or discard this patch.