Completed
Push — stable8.1 ( 0df34d...256c2c )
by Roeland
65:01
created
settings/controller/certificatecontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 	 *
66 66
 	 * @NoAdminRequired
67 67
 	 * @NoSubadminRequired
68
-	 * @return array
68
+	 * @return DataResponse
69 69
 	 */
70 70
 	public function addPersonalRootCertificate() {
71 71
 		$headers = [];
Please login to merge, or discard this patch.
tests/lib/activitymanager.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -228,6 +228,10 @@  discard block
 block discarded – undo
228 228
 		$this->assertEquals($expected, $this->activityManager->getCurrentUserId());
229 229
 	}
230 230
 
231
+	/**
232
+	 * @param string $requestToken
233
+	 * @param string $userToken
234
+	 */
231 235
 	protected function mockRSSToken($requestToken, $userToken, $users) {
232 236
 		if ($requestToken !== null) {
233 237
 			$this->request->expects($this->any())
@@ -242,6 +246,9 @@  discard block
 block discarded – undo
242 246
 			->willReturn($users);
243 247
 	}
244 248
 
249
+	/**
250
+	 * @param string $user
251
+	 */
245 252
 	protected function mockUserSession($user) {
246 253
 		$mockUser = $this->getMockBuilder('\OCP\IUser')
247 254
 			->disableOriginalConstructor()
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.
tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -72,6 +72,10 @@
 block discarded – undo
72 72
 	}
73 73
 
74 74
 
75
+	/**
76
+	 * @param boolean $isLoggedIn
77
+	 * @param boolean $isAdminUser
78
+	 */
75 79
 	private function getMiddleware($isLoggedIn, $isAdminUser){
76 80
 		return new SecurityMiddleware(
77 81
 			$this->request,
Please login to merge, or discard this patch.
tests/lib/appframework/utility/ControllerMethodReflectorTest.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,6 @@  discard block
 block discarded – undo
92 92
 
93 93
 	/**
94 94
 	 * @Annotation
95
-	 * @param int $test
96 95
 	 */
97 96
 	public function testReadTypeIntAnnotations(){
98 97
 		$reader = new ControllerMethodReflector();
@@ -107,7 +106,6 @@  discard block
 block discarded – undo
107 106
 
108 107
 	/**
109 108
 	 * @Annotation
110
-	 * @param double $test something special
111 109
 	 */
112 110
 	public function testReadTypeDoubleAnnotations(){
113 111
 		$reader = new ControllerMethodReflector();
@@ -121,7 +119,6 @@  discard block
 block discarded – undo
121 119
 
122 120
 	/**
123 121
 	 * @Annotation
124
-	 * @param 	string  $foo
125 122
 	 */
126 123
 	public function testReadTypeWhitespaceAnnotations(){
127 124
 		$reader = new ControllerMethodReflector();
Please login to merge, or discard this patch.
tests/lib/command/asyncbus.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
 class StateFullCommand implements ICommand {
25 25
 	private $state;
26 26
 
27
+	/**
28
+	 * @param string $state
29
+	 */
27 30
 	function __construct($state) {
28 31
 		$this->state = $state;
29 32
 	}
Please login to merge, or discard this patch.
tests/lib/contacts/localadressbook.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -46,6 +46,10 @@
 block discarded – undo
46 46
 
47 47
 class SimpleUserForTesting implements \OCP\IUser {
48 48
 
49
+	/**
50
+	 * @param string $uid
51
+	 * @param string $displayName
52
+	 */
49 53
 	public function __construct($uid, $displayName) {
50 54
 
51 55
 		$this->uid = $uid;
Please login to merge, or discard this patch.
tests/lib/datetimeformatter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 		$this->formatter = new \OC\DateTimeFormatter(new \DateTimeZone('UTC'), new \OC_L10N('lib', 'en'));
38 38
 	}
39 39
 
40
+	/**
41
+	 * @param integer $time
42
+	 */
40 43
 	protected function getTimestampAgo($time, $seconds = 0, $minutes = 0, $hours = 0, $days = 0, $years = 0) {
41 44
 		return $time - $seconds - $minutes * 60 - $hours * 3600 - $days * 24*3600 - $years * 365*24*3600;
42 45
 	}
Please login to merge, or discard this patch.